Labels

Update a Label

Updates the given Label. The change applies retroactively everywhere the label is currently attached — there is no versioning, so renaming a label changes how it appears against every customer that already carries it.

put/customers/labels/{labelId}

Request body

valuestring

Display text shown on the label badge against a customer. Operator-facing only — there is no guest-visible surface for labels. Limited to 20 characters so the badge fits in customer-list rows.

colourstring

A hex colour code excluding the preceding # which this label will be rendered as.

Example request

{
  "value": "VIP",
  "colour": "ff6634"
}

Response

The label was successfully retrieved

Example response

{
  "data": {
    "id": "000000-000000-000000-000000",
    "value": "VIP",
    "colour": "ff6634",
    "organisation_id": "000000-000000-000000-000000",
    "created_at": "2021-01-01T00:00:00.000Z",
    "updated_at": "2021-01-01T00:00:00.000Z"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.