Update the current customer's address
Updates the fields you send on one of the signed-in customer's addresses; send at least one. An address the customer does not own returns 404 `CUSTOMER_ADDRESS_NOT_FOUND`.
/customers/me/addresses/{id}https://api.lynkow.com/storefront/{siteId}Path parameters
idstringrequiredUnique identifier
Request bodyrequired
address1string1-255 characters
address2unionSecond address line, such as an apartment or suite
addressNameunionLabel of the address, such as Home or Office
citystring1-120 characters
companyunionCompany name on the address
countryCodestringISO 3166-1 alpha-2 country code
firstNamestringGiven name; on an address, the recipient's. 1-120 characters
isDefaultBillingbooleanWhether this is the customer's default billing address. `true` removes that default from their other addresses
isDefaultShippingbooleanWhether this is the customer's default shipping address. `true` removes that default from their other addresses
lastNamestringFamily name; on an address, the recipient's. 1-120 characters
metadataobjectCustom key-value metadata
phoneunionPhone number, stored as entered: no format is checked
postalCodestring1-32 characters
provinceunionState, province or region of the address