Creates a new customer delivery address.
POST {{baseUrl}}/proposals/:proposal-id/customer/delivery-address
This endpoint creates a new address as the customer's delivery address and returns the new state.
Request Body
{"city"=>"<string>", "country"=>{"code"=>"<string>", "hasRegions"=>"<boolean>", "name"=>"<string>"}, "id"=>"<integer>", "address1"=>"<string>", "address2"=>"<string>", "houseNumber"=>"<string>", "houseName"=>"<string>", "flatName"=>"<string>", "postalCode"=>"<string>", "phoneNumber"=>"<string>", "mobilePhoneNumber"=>"<string>", "email"=>"<string>", "region"=>{"id"=>"<integer>", "name"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-Match | string | (Required) The If-Match HTTP request header makes the request conditional. For PUT and other modifying methods, it will only modify the resource in case the ETag indicated by the If-Match header is identical to the resource's current ETag. | |
Content-Type | string | ||
Accept | string |