Pricing - Length Pricings
Create a length pricing
Create a length pricing record with JSON pricing tiers.
Authorisation
Bearer token required. Include in the
Authorization header.
Path parameters
customiser required
The customiser ID.
Example: 1
Request body
add_weight_to_product
label
pricings
pricing_type
shipping_calculation
volumetric_divisor
Request body example
application/json
{
"add_weight_to_product": true,
"label": "Standard",
"pricings": [
{
"basePrice": 100,
"pricePerCm": 2,
"pricePerLetter": 4,
"maxPriceMultiplier": 3,
"cmLimit": 100,
"cmLimitWidth": 100,
"cmLimitHeight": 50,
"cmLimitLength": 200,
"pricePerSqCm": 0.05,
"length": 120,
"widthModifier": 1,
"heightModifier": 1,
"lengthModifier": 1
}
],
"pricing_type": "MATERIAL_LENGTH",
"shipping_calculation": "PHYSICAL",
"volumetric_divisor": 5000
} Create a length pricing
curl https://web.signcustomiser.com/api/v2/customisers/1/length-pricings \
--request POST \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"add_weight_to_product": true,
"label": "Standard",
"pricings": [
{
"basePrice": 100,
"pricePerCm": 2,
"pricePerLetter": 4,
"maxPriceMultiplier": 3,
"cmLimit": 100,
"cmLimitWidth": 100,
"cmLimitHeight": 50,
"cmLimitLength": 200,
"pricePerSqCm": 0.05,
"length": 120,
"widthModifier": 1,
"heightModifier": 1,
"lengthModifier": 1
}
],
"pricing_type": "MATERIAL_LENGTH",
"shipping_calculation": "PHYSICAL",
"volumetric_divisor": 5000
}' Response 200
{
"length_pricing": {
"length_pricing_id": 1,
"selection_id": 1,
"label": "Standard",
"pricing_type": "MATERIAL_LENGTH",
"shipping_calculation": "PHYSICAL",
"pricings": [
{
"base_price": 100,
"price_per_cm": 2,
"cm_limit_width": 100,
"cm_limit_height": 50
}
]
}
}