Skip to main content
Skip to main content

CustomerDTO

The customer details.

idstringRequired
The ID of the customer.
emailstringRequired
The email of the customer.
has_accountbooleanRequired
A flag indicating if customer has an account or not.
default_billing_address_idnull | stringRequired
The associated default billing address's ID.
default_shipping_address_idnull | stringRequired
The associated default shipping address's ID.
company_namenull | stringRequired
The company name of the customer.
first_namenull | stringRequired
The first name of the customer.
last_namenull | stringRequired
The last name of the customer.
addressesCustomerAddressDTO[]Required
The addresses of the customer.
phonenull | stringRequired
The phone of the customer.
groupsobject[]Required
The groups of the customer.
metadataRecord<string, unknown>Required
Holds custom data in key-value pairs.
created_bynull | stringRequired
Who created the customer.
deleted_atnull | string | DateRequired
The deletion date of the customer.
created_atstring | DateRequired
The creation date of the customer.
updated_atstring | DateRequired
The update date of the customer.
Was this section helpful?