Skip to navigation

Get order by ID

Retrieve an order by its unique identifier. When cartId is provided as a query parameter, the order is returned without customer authentication. Use an API key for the retailer where the order was placed.

To find out whether an order whose payment is still settling or did not complete went through, use GET /orders?cartId=, which reports it as PROCESSING or FAILED.

Authentication

X-TT-API-Keystring
API Key authentication via header

Path parameters

orderIdstringRequiredformat: "^[1-9]\d*$">=1 character

Order ID, from the order response id.

Headers

X-TT-PlatformenumRequired
Identifies the platform the request comes from.
Allowed values:
X-TT-RetailerstringRequired
Your retailer identifier, provided during onboarding. It must be a retailer your API key was issued for.

Query parameters

cartIdstringOptionalformat: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"

The cart ID the order was placed with. It lets your API key read the order without a signed-in customer.

Response headers

X-RateLimit-Limitinteger
How many requests this API key may make for this retailer in the current window. Sent only when the request was counted against that limit. A response served from cache was not counted and repeats the value it was cached with.
X-RateLimit-Remaininginteger
How many requests this API key has left for this retailer in the current window. Sent only when the request was counted against that limit. A response served from cache was not counted and repeats the value it was cached with.

Response

Order found successfully.
dataobject
An order, with its items and tickets.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error