Get All Order Shipments
Returns all shipments recorded against an order.
Your API key, found under Store Settings on the API tab. This should be kept server-side.
Your store ID, found under Store Settings on the API tab.
Order Desk's internal order ID. This is not your source_id.
736745The order's shipments.
Either success or error.
Describes the result. Always present when an error occurs.
Time taken to process the request.
0.1524 seconds14482192508611Carrier-assigned tracking number. Use n/a if no tracking number is applicable.
1Z999AA10123456784Carrier code such as USPS or FedEx, when available.
UPSShipping service name, such as First Class International.
UPS GroundFinal shipment weight.
2.4Your cost to send the shipment.
9.5Current shipment status, used by the EasyPost webhook.
If omitted, Order Desk attempts to determine it from the tracking number format and carrier code.
Format of the stored label, when one exists.
Stored shipping label, when one exists.
Whether the label has been printed.
Shipment ID in the originating cart, when known.
Shipment ID at the label provider, when known.
Date and time in YYYY-MM-DD HH:MM:SS format. UTC unless otherwise stated.
2019-01-15 12:12:10Date and time in YYYY-MM-DD HH:MM:SS format. UTC unless otherwise stated.
2019-01-15 12:12:10Authentication failed. See the Authentication guide, and note that an invalid store ID blocks your store rather than simply failing the request.
No record matches that ID in your store.
You are sending too fast. Wait X-Retry-After seconds. See
the Rate Limits guide.
The request could not be completed.
curl "https://app.orderdesk.me/api/v2/orders/736745/shipments" \
-H "ORDERDESK-STORE-ID: your-store-id" \
-H "ORDERDESK-API-KEY: your-api-key"
{
"status": "success",
"message": "text",
"execution_time": "0.1524 seconds",
"total_records": 1,
"shipments": [
{
"id": 44821,
"order_id": 925086,
"store_id": 11,
"tracking_number": "1Z999AA10123456784",
"carrier_code": "UPS",
"shipment_method": "UPS Ground",
"weight": 2.4,
"cost": 9.5,
"status": "text",
"tracking_url": "text",
"label_format": "text",
"label_image": "text",
"print_status": "text",
"cart_shipment_id": "text",
"label_shipment_id": "text",
"order_items": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"date_shipped": "2019-01-15 12:12:10",
"date_added": "2019-01-15 12:12:10"
}
]
}Last updated
Was this helpful?

