Look up the order a cart produced

Recovery lookup for a client that lost its `Idempotency-Key` — after a timeout, a crash, or a closed tab — and needs to learn whether the cart it was checking out was charged. The `cartId` is the cart secret returned when the cart was created, and it is the whole credential: no customer authentication is required, and it grants the order that one cart produced and nothing else. The grant is the same one `GET /orders/{orderId}?cartId=` already accepts, scoped to a single cart, and it lasts as long as the cart record does — it is not separately expired. `data` holds at most one order — the latest the cart produced. Both a cart that has not produced an order and a `cartId` that resolves no cart at all answer an empty `data`, never a 403 or a 404: a client needs to tell "not charged" apart from "not allowed to ask", and answering differently for an unknown secret would make this endpoint an oracle for guessing cart secrets. An order whose payment has not settled comes back with no `status`, which means keep polling.

Authentication

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

Headers

X-TT-PlatformenumRequired
Identifies the platform the request comes from.
Allowed values:

Query parameters

cartIdstringRequiredformat: "(?i)^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
Cart ID, which is also the cart secret. Scopes the lookup to the order this one cart produced.
limitstringRequired
Maximum number of results to return.
offsetstringRequired
Number of results to skip for pagination.

Response

A page holding the one order the cart produced, empty when it produced none.