Customers
Create an Address for a Customer
Creates a new postal address for the given customer.
post/customers/customers/{customerId}/addresses
Request body
Example request
{
"name": "Home",
"address_line_1": "123 Fake Street",
"address_line_2": "Some building",
"city": "London",
"county": "London",
"country": "United Kingdom",
"postcode": "E14 1AA"
}Response
The customer's address was successfully retrieved
Example response
{
"data": {
"id": "000000-000000-000000-000000",
"name": "Home",
"address_line_1": "123 Fake Street",
"address_line_2": "Some Building",
"city": "London",
"county": "London",
"country": "United Kingdom",
"country_code": "GB",
"postcode": "E14 1AA"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.