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
Request
- Base URLhttps://sandbox.crmcarecloud.com/webservice/rest-api/enterprise-interface/v1.0
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"customer_id": "8ea2591121e636086a4a9c0992",
"partner_records": [
{
"partner_record_id": "88bd53f8ac5f3b595d6bc106a4",
"partner_id": "86e05affc7a7abefcd513ab400"
}
]
}Response
No Content
Changes
No recorded changes to this operation across all 1 revision of this API.