Total dimensions and weight calculation
If
total_actual_weight
is provided, it will prevail over the items' individual weights. It not provided, then the items' weights are mandatory and will be used to calculate the total package dimensions.
Likewise, if thebox
object is provided, then its dimensions will prevail over all individual items' dimensions and will be used to calculate the shipping rates. However, if the total box isn't provided, our algorithm will compute the best box based on the items' dimensions, which will then be mandatory.
Items definitions:
items array object | type | description |
---|---|---|
| string | Name or description of item |
| string | Stock Keeping Unit of item. |
| float | Actual weight of item in kg |
| float | Actual height of item in cm |
| float | Actual width of item in cm |
| float | Actual length of item in cm |
| string | Item's category. Allowed values= |
| string | Items customs value currency: |
| float | Items customs value |
| integer | Items quantity |
Box definitions:
box object | type | description |
---|---|---|
| float | Length of the box in cm |
| float | Width of the box in cm |
| float | Height of the box in cm |