Update Customer Address
POST
/store/:storeCode/customers/me/addresses/:addressIdUpdate a customer address.
Path Parameters
storeCoderequiredstringStore slug in the URL (first argument to every SDK store method).
addressIdrequiredstringThe address ID.
Query Parameters
fieldsstringComma-separated fields to include. Prefix with `*` to expand a relation (e.g. `id,*variants`).
Request Body
Schema
CopyHttpTypes.StoreUpdateCustomerAddress
Properties
country_codestringISO-2 country code.
address_1stringAddress line 1.
citystringCity.
postal_codestringPostal code.
is_default_shippingbooleanSet as default shipping.
is_default_billingbooleanSet as default billing.
Response
Status
200OK
Schema
CopyHttpTypes.StoreCustomerResponse
Properties
customerrequiredStoreCustomerCustomer with updated address.