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

UpsertAddressDTO

The attributes in the address to be created or updated.

Properties

customer_idstring
The associated customer's ID.
companystring
The company of the address.
first_namestring
The first name of the address.
last_namestring
The last name of the address.
address_1string
The first line of the address.
address_2string
The second line of the address.
citystring
The city of the address.
country_codestring
The ISO two country code of the address.
provincestring
The province of the address.
postal_codestring
The postal code of the address.
phonestring
The phone of the address.
metadataRecord<string, unknown>
Holds custom data in key-value pairs.
Was this section helpful?