Create an address for the current customer
Saves a new address for the signed-in customer. `isDefaultShipping: true` or `isDefaultBilling: true` makes it the default in place of the current one. A customer who already has 20 addresses gets 422 `CUSTOMER_ADDRESSES_LIMIT_REACHED`.
/customers/me/addresseshttps://api.lynkow.com/storefront/{siteId}Request bodyrequired
address1stringrequiredRequired. 1-255 characters
citystringrequiredRequired. 1-120 characters
countryCodestringrequiredRequired. ISO 3166-1 alpha-2 country code
firstNamestringrequiredRequired. Given name; on an address, the recipient's. 1-120 characters
lastNamestringrequiredRequired. Family name; on an address, the recipient's. 1-120 characters
postalCodestringrequiredRequired. 1-32 characters
address2unionSecond address line, such as an apartment or suite
addressNameunionLabel of the address, such as Home or Office
companyunionCompany name on the address
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
metadataobjectCustom key-value metadata
phoneunionPhone number, stored as entered: no format is checked
provinceunionState, province or region of the address