Sign Customiser

Customiser letter parts

Validate a letter part colour create

Copy page

Dry-runs the create without persisting anything, returning the same problems the create would return or a 200 verdict when it would succeed. Nothing is written, no idempotency key is consumed, and no option-write budget is spent.

POST/api/v3/customisers/{customiser_id}/letter-types/{letter_type_id}/letter-parts/{letter_part}/colours/validate-create

Overview

The verdict is advisory. Requires customisers:write.

Authorisation

Bearer token required. Include it in theAuthorization header.

Required scope: customisers:write

Path parameters

customiser_idstringpathrequired

The customiser id.

Example: 1

letter_type_idstringpathrequired

The letter type id.

Example: 7

letter_partstringpathrequired

The letter part.

Example: face

Request body

namestringbody

Request body example

application/json
{
  "name": "Warm White"
}
Validate a letter part colour create
curl https://web.signcustomiser.com/api/v3/customisers/1/letter-types/7/letter-parts/face/colours/validate-create \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Warm White"
}'
Response
{
  "data": {
    "object": "letter_part_colour_validation",
    "operation": "create",
    "customiser_id": 42,
    "letter_type_id": 7,
    "letter_part": "face",
    "colour_id": null,
    "valid": true
  },
  "links": {
    "self": "https://web.signcustomiser.com/api/v3/customisers/42/letter-types/7/letter-parts/face/colours/validate-create",
    "documentation": "https://www.signcustomiser.com/help/api/"
  },
  "meta": {
    "api_version": "v3",
    "request_id": "req_01jz9x2k7c8f3m5n6p7q8r9s0t"
  }
}