Order Status Information
Changed onRetrieves order status information (trackings, checkpoints, and reporting info), typically for customer-facing use cases like an order status page.
Orders can be looked up using one of the following primary identifier sets.
Primary lookup methods:
- Order Number: Requires order_number and account. Optionally, client (Client Key).
- External Order ID: Requires external_order_id and account.
- External Reference: Requires external_reference and account. Note: uniqueness of external references is not ensured by the system.
- Tracking Number: Requires tracking_number and courier. Optionally, account
- Customer Number: Requires customer_number and account.
- Recipient Email: Requires recipient_email and account.
All lookups can also include these optional parameters:
- postal_code: Recipient's postal code.
- recipient_email: Recipient's email (for secondary verification/filtering).
- lang: Language for the response content.
- s: HMAC signature for secure access.
- live_refresh: Boolean to force a live data refresh from carriers.
- show_returns: Boolean to include return shipments associated with the order.
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- or none
Query parameters
Account of order (if lookup by order number)
Client key of order (if lookup by client key)
Courier of order (if lookup by courier/tracking number)
Customer number of order (if lookup by customer number)
External ID of order (if lookup by external ID)
External reference of tracking (if lookup by external reference)
Language of order status information (falls back to trackings language and 'en' as last choice)
Perform an inline (live) refresh to the carrier API if applicable.
Order number to lookup (if lookup by order number)
Recipient email of order (if no API token is provided, determines level of information access in accordance with your account setup)
Recipient postal code of order (if no API token is provided, determines level of information access in accordance with your account setup)
Security hash of tracking (if no API token is provided, determines level of information access in accordance with your account setup)
Include return shipments associated with the order.
Only return tracking data that matches the provided tracking number and courier
ID of tracking (if lookup by tracking ID)
Tracking number of order (if lookup by courier/tracking number)
Response
Example response
{
"trackings": [
{
"articles": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
],
"articles_order": [
{
"article_name": "Blue T-Shirt",
"line_item_id": "ITEM-001",
"product_id": "PROD-123",
"quantity": 2,
"sku": "TSHIRT-BLUE-M"
}
]
}
]
}Changes
- info
endpoint added
- info