Skip to main content
Skip to main content

Customer

A customer can make purchases in your store and manage their profile.

Properties

idstringRequired
The customer's ID
created_atDateRequired
The date with timezone at which the resource was created.
updated_atDateRequired
The date with timezone at which the resource was updated.
deleted_atnull | DateRequired
The date with timezone at which the resource was deleted.
emailstringRequired
The customer's email
first_namestringRequired
The customer's first name
last_namestringRequired
The customer's last name
billing_address_idnull | stringRequired
The customer's billing address ID
billing_addressAddressRequired
The details of the billing address associated with the customer.
shipping_addressesAddress[]Required
The details of the shipping addresses associated with the customer.
password_hashstringRequired
phonestringRequired
The customer's phone number
has_accountbooleanRequired
Whether the customer has an account or not

Default: false

ordersOrder[]Required
The details of the orders this customer placed.
groupsCustomerGroup[]Required
The customer groups the customer belongs to.
metadataRecord<string, unknown>Required
An optional key-value map with additional details
Was this section helpful?