post https://api.easyship.com/2023-01/shipments
Create a new shipment.
Required authorization scope: Shipment
Select a courier
If you use our Rates API, you can define a courier ID to assign a courier to the shipment using selected_courier_id. If you skip courier ID, we will return a list of all possible rates to your new shipment and assign the best value for money courier.
Calculate dimensions and total weight
You can calculate dimensions and total weight of your shipment in three ways:
- Provide
total_actual_weightandboxobjects for the shipment. - Specify
actual_weightanddimensionsfor each item of theitemsobject: in this case, total weight and box size will be calculated automatically. - Specify
skufor each item of theitemsobject: in this case, actual weight and dimensions for calculations will be taken as set for the product.
