Skip to main content
Skip to main content

Customer

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

Properties

billing_addressAddressRequired
The details of the billing address associated with the customer.
billing_address_idnull | stringRequired
The customer's billing address ID
created_atDateRequired
The date with timezone at which the resource was created.
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
groupsCustomerGroup[]Required
The customer groups the customer belongs to.
has_accountbooleanRequired
Whether the customer has an account or not

Default: false

idstringRequired
The customer's ID
last_namestringRequired
The customer's last name
metadataRecord<string, unknown>Required
An optional key-value map with additional details
ordersOrder[]Required
The details of the orders this customer placed.
password_hashstringRequired
phonestringRequired
The customer's phone number
shipping_addressesAddress[]Required
The details of the shipping addresses associated with the customer.
updated_atDateRequired
The date with timezone at which the resource was updated.
Was this section helpful?