Retrieve available shipping options along with their corresponding prices for entire shipments, supporting multicollo as well.
from_country_code, to_country_code and to_postal_code to see remote surcharges in the price breakdown. Similarly, to access zonal prices, provide from_country_code, to_country_code, from_postal_code, and to_postal_code.
When neither to_country_code nor from_country_code is provided, the shipping options will be returned without quotes irrespective of the value you pass into calculate_quotes.
Basic Authentication using API key and secrets is currently the main authentication mechanism.
Shipment details for quote calculation
Sender country code in ISO 3166-1 alpha-2 format.
Destination country code in ISO 3166-1 alpha-2 format.
The postal code of the sender address. Should be provided, to make quotes as accurate as possible.
12The postal code of the destination address. Should be provided, to make quotes as accurate as possible.
12Service point ID as specified in the Retrieve a list of service points endpoints.
List of parcels in a shipment.
Shipping functionalities
Carrier code.
Contract id.
Shipping product code.
Specific shipping option code to use for pricing.
Filter to trim down shipping options with a specific lead time.
If true, the quotes will be retrieved for the provided parcels and other parameters.
If false, the quotes will not be retrieved, and the shipping options will be returned without quotes.
This is useful when you want to return shipping options with/without retrieving quotes.
The default value is false.
List of shipping options for a shipment.
A list of shipping options suitable for entire shipments. Each option includes total pricing for the entire shipment and breakdown per parcel. If the request doesn't pass basic details about the parcels (e.g. from_country, to_country), it's possible that the data will be null.