Authorizations
Headers
Publishable API Key created in the Medusa Admin.
Path Parameters
The address's ID.
Query Parameters
Comma-separated fields that should be included in the returned data. if a field is prefixed with +
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields. This API route restricts the fields that can be selected. Learn how to override the retrievable fields in the Retrieve Custom Links documentation.
Body
The properties to update in the address.
The customer's first name.
The customer's last name.
The customer's phone.
The address's company.
The address's first line.
The address's second line.
The address's city.
The address's country code.
The address's ISO 3166-2 province code. Must be lower-case.
"us-ca"
The address's postal code.
The address's name.
Whether the address is used by default for shipping during checkout.
Whether the address is used by default for billing during checkout.
Holds custom key-value pairs.
Response
OK
The customer's details.
The customer's details.