v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Customers actions

Set one or multiple partners to the customer

Set one or multiple partners to the customer. The method will set all the partners from the request available to the CareCloud API user and delete all that are not present in the request. If customer has a partner that is unavailable to the user, this partner is not going to be modified or deleted. ⚠️ Endpoint is available only in the Enterprise interface.

post/customers/actions/set-partners

Headers

Accept-Languagestring

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

Request body

customer_idstring required

The unique ID of the customer.

Example request

{
  "customer_id": "8ea2591121e636086a4a9c0992",
  "partner_records": [
    {
      "partner_record_id": "88bd53f8ac5f3b595d6bc106a4",
      "partner_id": "86e05affc7a7abefcd513ab400"
    }
  ]
}

Response

No Content