Skip to main content
Skip to main content
You're viewing the documentation for v1, which isn't the latest Medusa version.Latest documentation

legacy_CustomerDTO

The legacy customer details.

Properties

idstringRequired
The ID of the customer.
emailstringRequired
The email of the customer.
has_accountbooleanRequired
Whether the customer has account.
ordersobject[]Required
The orders of the customer.
billing_address_idnull | string
The associated billing address's ID.
shipping_address_idnull | string
The associated shipping address's ID.
first_namenull | string
The first name of the customer.
last_namenull | string
The last name of the customer.
billing_addressAddressDTO
The billing address of the customer.
shipping_addressAddressDTO
The shipping address of the customer.
phonenull | string
The phone of the customer.
groupsobject[]
The groups of the customer.
metadataRecord<string, unknown>
Holds custom data in key-value pairs.
deleted_atstring | Date
The deletion date of the customer.
created_atstring | Date
The creation date of the customer.
updated_atstring | Date
The update date of the legacy_ customer.
Was this section helpful?