Add a carton
carton_addAdd a carton to a packing list, providing its label and empty weight, plus optional outer dimensions in centimetres to enable chargeable weight calculation.
Instructions
Add a carton to a packing list and return its C01-style id: a label, the empty weight in WHOLE GRAMS, and optionally length, width and height in WHOLE CENTIMETRES. Dimensions are what make a chargeable weight possible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| label | Yes | What is written on the box, e.g. Box 1 of 3 or Pallet A | |
| width_cm | No | Outer width in whole centimetres | |
| height_cm | No | Outer height in whole centimetres | |
| length_cm | No | Outer length in whole centimetres. All three dimensions or none | |
| tare_grams | Yes | The EMPTY carton with its packaging, in whole grams. 0 when it is not known | |
| packing_list | Yes | The packing list id, e.g. PL-2026-0001, or the order reference when only one list carries it |