Sign Customiser

Update a length pricing record.

PUT /api/v2/customisers/{customiser}/length-pricings/{length_pricing}

Authorisation

Bearer token required. Include in the Authorization header.

Path parameters

customiser string path required

The customiser ID.

Example: 1

length_pricing string path required

The length pricing ID.

Example: 1

Request body

add_weight_to_product boolean body
label string body
pricings array body
pricing_type string body
shipping_calculation string body
volumetric_divisor integer body

Request body example

application/json
{
  "add_weight_to_product": true,
  "label": "Premium",
  "pricings": [
    {
      "basePrice": 4326.41688,
      "pricePerCm": 4326.41688,
      "pricePerLetter": 4326.41688,
      "maxPriceMultiplier": 4326.41688,
      "cmLimit": 77,
      "cmLimitWidth": 4326.41688,
      "cmLimitHeight": 4326.41688,
      "cmLimitLength": 4326.41688,
      "pricePerSqCm": 4326.41688,
      "length": 4326.41688,
      "widthModifier": 4326.41688,
      "heightModifier": 4326.41688,
      "lengthModifier": 4326.41688
    }
  ],
  "pricing_type": "MATERIAL_LENGTH",
  "shipping_calculation": "PHYSICAL",
  "volumetric_divisor": 5000
}
Update a length pricing
curl https://web.signcustomiser.com/api/v2/customisers/1/length-pricings/1 \
  --request PUT \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "add_weight_to_product": true,
  "label": "Premium",
  "pricings": [
    {
      "basePrice": 4326.41688,
      "pricePerCm": 4326.41688,
      "pricePerLetter": 4326.41688,
      "maxPriceMultiplier": 4326.41688,
      "cmLimit": 77,
      "cmLimitWidth": 4326.41688,
      "cmLimitHeight": 4326.41688,
      "cmLimitLength": 4326.41688,
      "pricePerSqCm": 4326.41688,
      "length": 4326.41688,
      "widthModifier": 4326.41688,
      "heightModifier": 4326.41688,
      "lengthModifier": 4326.41688
    }
  ],
  "pricing_type": "MATERIAL_LENGTH",
  "shipping_calculation": "PHYSICAL",
  "volumetric_divisor": 5000
}'
Response 200
{
  "length_pricing": {
    "length_pricing_id": 1,
    "selection_id": 1,
    "label": "Premium",
    "pricing_type": "MATERIAL_LENGTH",
    "shipping_calculation": "PHYSICAL",
    "pricings": []
  }
}