POST
/
customer-addresses
/
{id}
/
default
curl -X POST \
 /customer-addresses/{id}/default \
 --header "Authorization: Bearer <token>"
{
  "id": "<string>",
  "vatId": "DE123456789",
  "type": "TYPE_DEFAULT",
  "default": "true",
  "status": "active",
  "city": "Berlin",
  "zip": "12345",
  "street": "Musterstraße",
  "houseNumber": "1a",
  "countryCode": "DE",
  "companyName": "ACME Inc.",
  "salutation": "Herr",
  "addition": "c/o John Doe",
  "costCentre": "123456789",
  "firstName": "John",
  "lastName": "Doe"
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

id
string
required

CustomerAddress identifier

Response

201
application/json

CustomerAddress resource created