AdminCustomerAddress

Properties#

idstring
The address's ID.
address_namenull | string
The address's name.
is_default_shippingboolean
Whether the address is used by default for shipping.
is_default_billingboolean
Whether the address is used by default for billing.
customer_idstring
The ID of the customer this address belongs to.
companynull | string
The address's company.
first_namenull | string
The address's first name.
last_namenull | string
The address's last name.
address_1null | string
The address's first line.
address_2null | string
The address's second line.
citynull | string
The address's city.
country_codenull | string
The address's country code.
provincenull | string
The address's province.
postal_codenull | string
The address's postal code.
phonenull | string
The address's phone number.
metadatanull | Record<string, unknown>
Key-value pairs of custom data.
created_atstring
The date the address was created.
updated_atstring
The date the address 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