Customers actions
Set a new customer status
The method sets a new customer status. If another valid status exists, CareCloud deactivates it.
Customer statuses represent the customer's tier or standing within a loyalty program. Only one status can be active at a time. Setting a new status automatically deactivates any currently active status on the account. The response returns the ID of the created status record.
To view current and past status records on a customer account, use GET /customers/{customer_id}/statuses.
⚠️ Action method is available only in the Enterprise interface.
post/customers/actions/set-status-record
Request body
Example request
{
"status_id": "86e05affc7a7abefcd513ab400",
"customer_id": "89ac83ca207a820c62c79bf03a",
"valid_from": "2021-01-28 00:00:00",
"valid_to": "2021-05-28 23:59:59"
}Response
OK
Example response
{
"data": {
"status_record_id": "8ea2591121e636086a4a9c0992"
}
}