Pricing - Sizes
Update a size
Update a size pricing record. Field requirements depend on the customiser's price_type.
Authorisation
Bearer token required. Include in the
Authorization header.
Path parameters
customiser required
The customiser ID.
Example: 1
size required
The size ID.
Example: 1
Request body
label
description
char_limit
line_limit
width_cm
height_cm
min_char
height_strategy
line_height_cm
width_multiplier
length_cm
Request body example
application/json
{
"label": "Medium",
"description": "Up to 70cm wide",
"char_limit": 25,
"line_limit": 3,
"width_cm": 70,
"height_cm": 40,
"min_char": 1,
"height_strategy": "WIDTH",
"line_height_cm": 14,
"width_multiplier": 1.2,
"length_cm": 120
} Update a size
curl https://web.signcustomiser.com/api/v2/customisers/1/sizes/1 \
--request PUT \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"label": "Medium",
"description": "Up to 70cm wide",
"char_limit": 25,
"line_limit": 3,
"width_cm": 70,
"height_cm": 40,
"min_char": 1,
"height_strategy": "WIDTH",
"line_height_cm": 14,
"width_multiplier": 1.2,
"length_cm": 120
}' Response 200
{
"size": {
"size_id": 1,
"selection_id": 1,
"label": "Medium",
"width_cm": 70,
"sort_order": 1
}
}