Create Customer Address
Creates a new customer address
PUT /v1/Customers/{customerGuid}/Addresses
Use the Test or Production base URL configured under Overview.
Request parameters
| Field | Location | Mandatory | Description |
|---|---|---|---|
| customerGuid | path | Yes | string |
Headers and authentication
Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.
Request body fields
| Field path | Mandatory | Description |
|---|---|---|
| addressType | No | string Type of address. LEGAL or user defined. |
| fullName | No | string Name to use instead on the real name when using this address, e.g. an invoice reading service. Usually null. |
| street | No | string Street |
| houseNo | No | string House number |
| houseNoExtension | No | string House number extension |
| city | No | string City |
| zipCode | No | string Zipcode |
| stateCode | No | string State code |
| countryCode | No | string Country code |
| addressNotValidDate | No | string Date when the address was marked as not valid anymore |
| defaultAddress | No | boolean Flag if this address should be treated as the default address |
| validFrom | No | string Date when the address is valid from |
| validTo | No | string Date when the address is valid to |
| addressNotValidReason | No | string Reason why the address is not valid |
| reasonForChange | No | string The reason for the address change. Text is not used when marking the address as not valid. |
Response fields
Mandatory describes null handling: No means the source permits null, while Yes means it does not. Field meaning remains TBD until confirmed.
HTTP 201
Media types: application/json, application/vnd.error+json.
| Field path | Mandatory | Description |
|---|---|---|
| addressGuid | No | string Unique address guid |
| addressType | No | string Type of address. LEGAL or user defined. |
| fullName | No | string Name to use instead on the real name when using this address, e.g. an invoice reading service. Usually null. |
| street | No | string Street |
| houseNo | No | string House number |
| houseNoExtension | No | string House number extension |
| city | No | string City |
| zipCode | No | string Zipcode |
| stateCode | No | string State code |
| countryCode | No | string Country code |
| fullAddress | No | string Fully formatted address including new lines |
| addressNotValidDate | No | string Date when the address was marked as not valid anymore |
| defaultAddress | No | boolean Flag if this address should be treated as the default address |
| validFrom | No | string Date when the address is valid from |
| validTo | No | string Date when the address is valid to |
| validatedAt | No | string Date when the address last validated |
| validOverride | No | boolean Flag to overrule the valid from/to interval |
| lastUpdatedAt | No | string Timestamp when the address was last updated |
HTTP 400
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 401
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 403
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
HTTP 408
Media types: application/json, application/vnd.error+json.
| Field path | Description |
|---|---|
| type | string or null |
| title | string or null |
| status | integer or null |
| detail | string or null |
| instance | string or null |
Additional fields may be returned.
