curl --request POST \
--url https://api.partbot.io/v1/shipping/get-rates \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"shipping_quote_request": {
"items": [
{
"sku": "<string>",
"quantity": 123,
"brand": "<string>"
}
],
"destination": {
"address1": "<string>",
"city": "<string>",
"province": "<string>",
"postcode": 123,
"country": "<string>"
},
"rates_mode": "all",
"limit": 5
}
}
'{
"rates": [
{
"service_name": "Australia Post - Parcel Post",
"service_code": "fe-27330-3085-51529330",
"total_price_in_cents": 2559,
"total_price": 25.59,
"description": "2-3 business days",
"currency": "AUD"
},
{
"service_name": "Australia Post - Express Post",
"service_code": "fe-27330-3083-51529328",
"total_price_in_cents": 3185,
"total_price": 31.85,
"description": "1 business day",
"currency": "AUD"
},
{
"service_name": "TGE IPEC - Road Express",
"service_code": "fe-27387-3137-51529333",
"total_price_in_cents": 5473,
"total_price": 54.73,
"description": "2 business days",
"currency": "AUD"
},
{
"service_name": "TNT - Road Express",
"service_code": "fe-27355-3106-51529358",
"total_price_in_cents": 13638,
"total_price": 136.38,
"description": "2 business days",
"currency": "AUD"
},
{
"service_name": "TNT - Overnight Express",
"service_code": "fe-27355-3105-51529357",
"total_price_in_cents": 18482,
"total_price": 184.82,
"description": "1 business day",
"currency": "AUD"
}
]
}Retrieve shipping rates for a collection of products to a specific destination. Products must be either in your managed catalogue, or available from a connected distributor that you have an account with.
curl --request POST \
--url https://api.partbot.io/v1/shipping/get-rates \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"shipping_quote_request": {
"items": [
{
"sku": "<string>",
"quantity": 123,
"brand": "<string>"
}
],
"destination": {
"address1": "<string>",
"city": "<string>",
"province": "<string>",
"postcode": 123,
"country": "<string>"
},
"rates_mode": "all",
"limit": 5
}
}
'{
"rates": [
{
"service_name": "Australia Post - Parcel Post",
"service_code": "fe-27330-3085-51529330",
"total_price_in_cents": 2559,
"total_price": 25.59,
"description": "2-3 business days",
"currency": "AUD"
},
{
"service_name": "Australia Post - Express Post",
"service_code": "fe-27330-3083-51529328",
"total_price_in_cents": 3185,
"total_price": 31.85,
"description": "1 business day",
"currency": "AUD"
},
{
"service_name": "TGE IPEC - Road Express",
"service_code": "fe-27387-3137-51529333",
"total_price_in_cents": 5473,
"total_price": 54.73,
"description": "2 business days",
"currency": "AUD"
},
{
"service_name": "TNT - Road Express",
"service_code": "fe-27355-3106-51529358",
"total_price_in_cents": 13638,
"total_price": 136.38,
"description": "2 business days",
"currency": "AUD"
},
{
"service_name": "TNT - Overnight Express",
"service_code": "fe-27355-3105-51529357",
"total_price_in_cents": 18482,
"total_price": 184.82,
"description": "1 business day",
"currency": "AUD"
}
]
}Show child attributes
cheapest, all "all"
5
OK
Array of available shipping rates
Show child attributes
The name of the shipping service
Unique code for the shipping service
Total price in cents
Total price in dollars
Delivery time description
Currency code (e.g., AUD)