AdminCustomer

Properties#

has_accountboolean
Whether the customer is a guest.
The customer's addresses.
idstring
The customer's ID.
emailstring
The customer's email.
default_billing_address_idnull | string
The ID of the customer's default billing address.
default_shipping_address_idnull | string
The ID of the customer's default shipping address.
company_namenull | string
The customer's company name.
first_namenull | string
The customer's first name.
last_namenull | string
The customer's last name.
groupsAdminCustomerGroup[]Optional
The groups the customer is in.
phonenull | stringOptional
The customer's phone.
metadataRecord<string, unknown>Optional
Key-value pairs of custom data.
created_bynull | stringOptional
The ID of the user that created the customer.
deleted_atnull | string | DateOptional
The date the customer was deleted.
created_atstring | DateOptional
The date the customer was created.
updated_atstring | DateOptional
The date the customer was updated.
Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break