Set a new customer status

This endpoint sets a new customer status. CareCloud deactivates any other valid status on the account.

Customer statuses represent the customer's tier or standing within a loyalty program. Only one status can be active at a time. 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.

⚠️ Endpoint is available only in Enterprise API.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The unique ID of the status.

string
required

The unique ID of the customer.

string

Timestamp of when the status record starts its validity. If not set, the current date and time is applied. The value must not be in the future. A future value is rejected with HTTP 400. Accepts the format YYYY-MM-DD HH:MM:SS or ISO-8601 format (YYYY-MM-DDTHH:MM:SS). All times must be in the local timezone.

string

Timestamp of when the status record validity ends. If not set, the validity from the status definition is applied. Accepts the format YYYY-MM-DD HH:MM:SS or ISO-8601 format (YYYY-MM-DDTHH:MM:SS). All times must be in the local timezone.

Responses

error.error_data.invalid_params[] array lists the parameters that caused the failure, each carrying a reason code. See the BadRequestErrorBody schema for the generic reason taxonomy. Operations with domain-specific business rules document additional reasons at the operation level.

429

Too many requests - more than the resource limit.

503

Temporary state when the service is temporarily unavailable, overloaded or there is a maintenance window.

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json