Get order by ID
Use this endpoint to retrieve a single order by its identifier with full detail - line items, recipient, shipping address, fulfillments with tracking information, tags, and metadata. Use this when you need detail beyond what’s returned by GET /v3/orders (which returns the same shape) - typically for a single-order detail view or to refresh tracking information.
Required fields:
orderId- the order identifier, passed as a path parameter.
Optional parameters:
Snappy-Account-Idheader - optional account scoping.Snappy-Company-Idheader - optional company scoping.
Please note:
- Returns
404if no order exists for the suppliedorderId, or if it exists but belongs to a different Company. Existence is intentionally hidden across Companies. fulfillmentsis an empty array ([]) when the order has not yet been shipped or when tracking information is unavailable.cancellationDetailsis populated only when status is cancelled; null otherwise.metadatais null when no metadata was supplied at order creation.- PII fields (
recipient name,tracking info) are masked under theorders:read:maskedscope and returned in full underorders:read:unmasked.
Permissions
- Requires:
orders:read:maskedororders:read:unmasked
Authorizations
Company Level Authentication
Include your API key in the X-Api-Key header for every request:
X-Api-Key: YOUR_API_KEYHeaders
Optional account identifier for swag validation/filtering.
"acc123456"
Optional company identifier for swag validation/filtering.
"cmp123456"
Path Parameters
The unique identifier of the order to retrieve.
^[A-Za-z0-9]{8,}$"G7nR4bD9mK"
Response
Order.
JSON:API single-resource envelope for an order.
Order details including line items, recipient, shipping address, fulfillments, and tracking information.