v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Customers

Create the customer relation

Add a new customer relation to the customer account.

post/customers/{customer_id}/related-customers

Path parameters

customer_idstring required

The unique ID of the customer.

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Request body

Example request

{
  "related_customer": {
    "customer_relation_id": "81eaeea13b8984a169c490a325",
    "related_customer_id": "8aa68a112c62ad5f84a22a0652",
    "short_name": "Peter D.",
    "customer_relation_type_id": "8bed991c68a470e7aaeffbf048",
    "valid_from": "2022-01-09 22:00:00",
    "valid_to": "2022-01-09 22:30:00",
    "last_change": "2022-06-23 11:47:22",
    "state": 1
  }
}

Response

Created

Example response

{
  "data": {
    "customer_relation_id": "81eaeea13b8984a169c490a325"
  }
}