v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Customers

Add a partner to the customer

Add a new partner to the customer. To replace all partner assignments in a single call, use POST /customers/actions/set-partners (enterprise interface only) instead.

post/customers/{customer_id}/partner-records

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

{
  "partner_record": {
    "partner_record_id": "88bd53f8ac5f3b595d6bc106a4",
    "partner_id": "86e05affc7a7abefcd513ab400"
  }
}

Response

Created

Example response

{
  "data": {
    "partner_record_id": "88bd53f8ac5f3b595d6bc106a4"
  }
}