Get Shipping Rates for Order
Shipping Operations
Get Shipping Rates for Order
Fetch real-time shipping rates for an order’s line items
POST
Get Shipping Rates for Order
V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.
Overview
Fetch real-time shipping rates from connected carriers for a specific set of line items. Provide package dimensions, weight, and origin/destination addresses to receive available rates with pricing and estimated delivery times.Use Cases
- Show rate options to vendors before purchasing a label
- Compare carrier pricing for a shipment
- Integrate shipping rate selection into custom fulfillment workflows
Request Body
The Shopify order number.
The vendor’s ID.
Array of line item IDs to ship. Minimum 1 item.
Package length. Must be a positive number.
Package width. Must be a positive number.
Package height. Must be a positive number.
Package weight. Must be a positive number.
Weight unit (e.g.
lb, kg, oz, g).Distance unit for dimensions (e.g.
in, cm).Destination address.
Street address line 1.
Street address line 2.
Country code (e.g.
US, GB).Postal / ZIP code.
City name.
Phone number.
State or province.
Recipient name.
Recipient email.
Origin address. Same fields as
to_address.Street address line 1.
Street address line 2.
Country code.
Postal / ZIP code.
City name.
Phone number.
State or province.
Sender name.
Sender email.
Response
200