Update Customer Label

Updates a customer label, if the requesting manager has access permissions to it.

  • Method: PATCH

  • URL: /api/v1/clabels/{id}/

Request body

The request accepts the following optional fields (JSON):

circle-info

Both fields are optional; include only the fields you want to update.

Request body (application/json)
{
    "label": "EditLabel2",
    "color": "#2e86de"
}
circle-exclamation

Fields:

  • label (string, optional)

  • color (string, optional) — must be in the format #RRGGBB

Success response (200)

Response (200)
{
    "id": 53,
    "label": "EditTest2",
    "color": "#2e86de",
    "company": 339
}

Error response (404)

chevron-rightResponse (404)hashtag

Was this helpful?