Customer
object
Information about a customer.
Fields
The date and time when the customer was created.
Format: ISO 8601.
Example:
Format: ISO 8601.
Example:
2024-08-31T02:20:26+08:00The customer's display name.
Whether the customer has subscribed to marketing information via email.
true: Subscribedfalse: Not subscribed
The customer's default address.
The customer's email address.
The customer's first name.
The customer ID.
The customer's last name.
The customer's phone number.
The tags attached to the customer.
The date and time when the customer was last updated.
Format: ISO 8601.
Example:
Format: ISO 8601.
Example:
2024-08-31T02:20:26+08:00The time when the customer's account was canceled, formatted as a 13-digit millisecond timestamp.
Example:
Example:
1729822782000The customer's account cancellation status. You can control whether to display the account cancellation button on the storefront based on the account cancellation status. Valid values are:
1: Uncancellable. You can hide the account cancellation button on the storefront.2: Cancellable. You can display the account cancellation button on the storefront.3: Cancellation in progress. The state indicates that the account is currently in a cooling-off period.
A list of orders associated with the customer.
A list of the customer's addresses.
The customer's date of birth. Format:
Example:
yyyyMMdd.Example:
19931231The customer's gender. Valid values are:
unknown: Unknownmale: Malefemale: Femaleprefer not to say: Secret
Was this article helpful to you?