Sign Customiser

Navigation

Dark mode

Customiser colour scheme

Update the customiser colour scheme

Copy page

Partially update the colour scheme with a JSON Merge Patch (RFC 7396): the request body is a JSON object that contains only the colours to change. Omitted colours are unchanged, null clears a colour so the customer customiser uses its built-in default again, and an empty object {} is a valid no-op.

PATCH/api/v3/customisers/{customiser_id}/colour-scheme
PATCHUpdate the customiser colour scheme
PATCH/api/v3/customisers/{customiser_id}/colour-scheme

Update the customiser colour scheme

Partially update the colour scheme with a JSON Merge Patch (RFC 7396): the request body is a JSON object that contains only the colours to change. Omitted colours are unchanged, null clears a colour so the customer customiser uses its built-in default again, and an empty object `{}` is a valid no-op. Each value must be a hex colour: `#rgb`, `#rgba`, `#rrggbb` or `#rrggbbaa`. The live preview background is `visualisation_background_colour`. A property this resource does not define is refused with a 422 problem with code `unknown_field`, and `object`, `customiser_id` and `updated_at` are refused as read-only. The first write creates the colour scheme. Requires the `customisers:write` scope. A successful update immediately changes the storefront: the customiser's cached configuration is invalidated and translated language content is resynchronised. It never regenerates your Shopify products, product images, or product cache. Send an `Idempotency-Key` header (1-255 visible ASCII characters, e.g. a UUID) to make the write safe to retry: repeating the same key with the same body replays the original response (marked `Idempotency-Replay: true`) without executing again; the same key with a different body is a 409 problem with code `idempotency_key_conflict`. The header is optional here, as on the option families' update operations. Validation failures are 422 problems: `validation_failed` lists every field error in `errors[]` with a JSON `pointer`. A 400 problem means the body is not valid JSON; a 422 problem with code `invalid_document` means the body is not a JSON object. 401/403/404/429 behave as on the read operation, with `customisers:write` as the required scope.

Authorisation

The Authorization header expects a Bearer token. Generate one on the API keys page in your dashboard.

Path

The customiser id, from the list customisers operation.

Body
Update the customiser colour scheme

Overview

Each value must be a hex colour: #rgb, #rgba, #rrggbb or #rrggbbaa. The live preview background is visualisation_background_colour. A property this resource does not define is refused with a 422 problem with code unknown_field, and object, customiser_id and updated_at are refused as read-only. The first write creates the colour scheme. Requires the customisers:write scope. A successful update immediately changes the storefront: the customiser's cached configuration is invalidated and translated language content is resynchronised. It never regenerates your Shopify products, product images, or product cache. Send an Idempotency-Key header (1-255 visible ASCII characters, e.g. a UUID) to make the write safe to retry: repeating the same key with the same body replays the original response (marked Idempotency-Replay: true) without executing again; the same key with a different body is a 409 problem with code idempotency_key_conflict. The header is optional here, as on the option families' update operations. Validation failures are 422 problems: validation_failed lists every field error in errors[] with a JSON pointer. A 400 problem means the body is not valid JSON; a 422 problem with code invalid_document means the body is not a JSON object. 401/403/404/429 behave as on the read operation, with customisers:write as the required scope.

Authorisation

Bearer token required. Include it in the Authorization header.

Required scope: customisers:write

Path parameters

customiser_idstringpathrequired

The customiser id, from the list customisers operation.

Example: 1

Request body

background_colourstringbody
box_colourstringbody
box_text_colourstringbody
button_text_colourstringbody
control_bar_background_colourstringbody
control_bar_button_border_colourstringbody
control_bar_button_colourstringbody
control_bar_button_hover_colourstringbody
control_bar_icon_colourstringbody
discount_price_colourstringbody
form_error_colourstringbody
link_colourstringbody
main_discount_price_colourstringbody
main_price_colourstringbody
measurement_display_colourstringbody
modal_background_colourstringbody
modal_overlay_colourstringbody
modal_text_colourstringbody
outline_colourstringbody
pending_colourstringbody
price_colourstringbody
price_label_colourstringbody
primary_colourstringbody
save_form_background_colourstringbody
save_form_border_colourstringbody
save_form_button_colourstringbody
save_form_button_text_colourstringbody
save_form_heading_colourstringbody
save_form_text_colourstringbody
secondary_background_colourstringbody
secondary_colourstringbody
secondary_text_colourstringbody
selection_number_background_colourstringbody
selection_number_text_colourstringbody
success_colourstringbody
text_colourstringbody
text_input_background_colourstringbody
visualisation_background_colourstringbody
visualisation_text_colourstringbody

Request body example

application/json
{
  "background_colour": "#1f2937",
  "box_colour": "#1f2937",
  "box_text_colour": "#1f2937",
  "button_text_colour": "#1f2937",
  "control_bar_background_colour": "#1f2937",
  "control_bar_button_border_colour": "#1f2937",
  "control_bar_button_colour": "#1f2937",
  "control_bar_button_hover_colour": "#1f2937",
  "control_bar_icon_colour": "#1f2937",
  "discount_price_colour": "#1f2937",
  "form_error_colour": "#1f2937",
  "link_colour": "#1f2937",
  "main_discount_price_colour": "#1f2937",
  "main_price_colour": "#1f2937",
  "measurement_display_colour": "#1f2937",
  "modal_background_colour": "#1f2937",
  "modal_overlay_colour": "#1f2937",
  "modal_text_colour": "#1f2937",
  "outline_colour": "#1f2937",
  "pending_colour": "#1f2937",
  "price_colour": "#1f2937",
  "price_label_colour": "#1f2937",
  "primary_colour": "#1f2937",
  "save_form_background_colour": "#1f2937",
  "save_form_border_colour": "#1f2937",
  "save_form_button_colour": "#1f2937",
  "save_form_button_text_colour": "#1f2937",
  "save_form_heading_colour": "#1f2937",
  "save_form_text_colour": "#1f2937",
  "secondary_background_colour": "#1f2937",
  "secondary_colour": "#1f2937",
  "secondary_text_colour": "#1f2937",
  "selection_number_background_colour": "#1f2937",
  "selection_number_text_colour": "#1f2937",
  "success_colour": "#1f2937",
  "text_colour": "#1f2937",
  "text_input_background_colour": "#1f2937",
  "visualisation_background_colour": "#1f2937",
  "visualisation_text_colour": "#1f2937"
}
Update the customiser colour scheme
curl https://web.signcustomiser.com/api/v3/customisers/1/colour-scheme \
  --request PATCH \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "background_colour": "#1f2937",
  "box_colour": "#1f2937",
  "box_text_colour": "#1f2937",
  "button_text_colour": "#1f2937",
  "control_bar_background_colour": "#1f2937",
  "control_bar_button_border_colour": "#1f2937",
  "control_bar_button_colour": "#1f2937",
  "control_bar_button_hover_colour": "#1f2937",
  "control_bar_icon_colour": "#1f2937",
  "discount_price_colour": "#1f2937",
  "form_error_colour": "#1f2937",
  "link_colour": "#1f2937",
  "main_discount_price_colour": "#1f2937",
  "main_price_colour": "#1f2937",
  "measurement_display_colour": "#1f2937",
  "modal_background_colour": "#1f2937",
  "modal_overlay_colour": "#1f2937",
  "modal_text_colour": "#1f2937",
  "outline_colour": "#1f2937",
  "pending_colour": "#1f2937",
  "price_colour": "#1f2937",
  "price_label_colour": "#1f2937",
  "primary_colour": "#1f2937",
  "save_form_background_colour": "#1f2937",
  "save_form_border_colour": "#1f2937",
  "save_form_button_colour": "#1f2937",
  "save_form_button_text_colour": "#1f2937",
  "save_form_heading_colour": "#1f2937",
  "save_form_text_colour": "#1f2937",
  "secondary_background_colour": "#1f2937",
  "secondary_colour": "#1f2937",
  "secondary_text_colour": "#1f2937",
  "selection_number_background_colour": "#1f2937",
  "selection_number_text_colour": "#1f2937",
  "success_colour": "#1f2937",
  "text_colour": "#1f2937",
  "text_input_background_colour": "#1f2937",
  "visualisation_background_colour": "#1f2937",
  "visualisation_text_colour": "#1f2937"
}'
Response
{
  "data": {
    "object": "colour_scheme",
    "customiser_id": 42,
    "background_colour": "#1f2937",
    "box_colour": "#ffffff",
    "box_text_colour": "#f97316",
    "button_text_colour": "#0ea5e9",
    "control_bar_background_colour": "#1f2937",
    "control_bar_button_border_colour": "#ffffff",
    "control_bar_button_colour": "#f97316",
    "control_bar_button_hover_colour": "#0ea5e9",
    "control_bar_icon_colour": "#1f2937",
    "discount_price_colour": "#ffffff",
    "form_error_colour": "#f97316",
    "link_colour": "#0ea5e9",
    "main_discount_price_colour": "#1f2937",
    "main_price_colour": "#ffffff",
    "measurement_display_colour": "#f97316",
    "modal_background_colour": "#0ea5e9",
    "modal_overlay_colour": "#1f2937",
    "modal_text_colour": "#ffffff",
    "outline_colour": "#f97316",
    "pending_colour": "#0ea5e9",
    "price_colour": "#1f2937",
    "price_label_colour": "#ffffff",
    "primary_colour": "#f97316",
    "save_form_background_colour": "#0ea5e9",
    "save_form_border_colour": "#1f2937",
    "save_form_button_colour": "#ffffff",
    "save_form_button_text_colour": "#f97316",
    "save_form_heading_colour": "#0ea5e9",
    "save_form_text_colour": "#1f2937",
    "secondary_background_colour": "#ffffff",
    "secondary_colour": "#f97316",
    "secondary_text_colour": "#0ea5e9",
    "selection_number_background_colour": "#1f2937",
    "selection_number_text_colour": "#ffffff",
    "success_colour": "#f97316",
    "text_colour": "#0ea5e9",
    "text_input_background_colour": "#1f2937",
    "visualisation_background_colour": "#ffffff",
    "visualisation_text_colour": "#f97316",
    "updated_at": "2026-05-04T09:12:31Z"
  },
  "links": {
    "self": "https://web.signcustomiser.com/api/v3/customisers/42/colour-scheme",
    "documentation": "https://www.signcustomiser.com/help/api/"
  },
  "meta": {
    "api_version": "v3",
    "request_id": "req_01jz9x2k7c8f3m5n6p7q8r9s0t"
  }
}

Type a question and press Enter. Use the arrow keys to move between the results.