The best courier (e.g. the cheapest) will be selected for this shipment automatically, unless the
selected_courier_idfield is provided. We recommend using the Rates API to display shipping rates in your eCommerce store, and then use the selected courier to generate the labels.
Alternatively, you can rely on the Shipping Rules defined in your Easyship dashboard, by setting
Total dimensions and weight calculation
total_actual_weightis 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 the
boxobject 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 array object
Name or description of item
Stock Keeping Unit of item.
Actual weight of item in kg
Actual height of item in cm
Actual width of item in cm
Actual length of item in cm
Item's category. Allowed values=
Items customs value currency:
Items customs value
Length of the box in cm
Width of the box in cm
Height of the box in cm