Skip to navigation

List the logged-in account’s orders

Returns the orders placed under the email the shopper proved at login, newest first, each with the same order body as GET /api/account/orders/{id}. Orders placed under any other email are never returned, whoever the shopper is. Page with limit and offset: while hasMore is true, request the next page with offset set to the nextOffset returned — never by counting the orders received. A page can hold fewer than limit orders, even none, while more remain. Tickets are not included in the list; read one order with GET /api/account/orders/{id} for them. Requires the account token from POST /api/account/session; a backend with a POST /oauth/token client token reads an order with GET /api/order/confirmation instead.

Authentication

AuthorizationBearer

Account token, browser-safe. Obtain one from POST /api/account/session with the 6-digit code POST /api/account/login emailed to the shopper; valid 30 minutes, for one store and one proven email, and it reads only that account’s own data. Sent as Authorization: Bearer <token>. Not interchangeable with the BearerAuth client token in either direction.

Headers

x-entriastringRequired

Identifies which store this request is for. Required on every store-scoped route. It is not authentication and not a secret — it grants no privileges and is safe to send from a browser. You receive the value once your Entria backend has been created and configured. Missing header returns 400; an unknown store returns 404.

Query parameters

limitintegerOptional1-50Defaults to 20

How many orders to look through per page, 1–50; a page can return fewer. Defaults to 20.

offsetinteger or nullOptional>=0Defaults to 0

Where to start: 0, then the nextOffset of the previous page. Defaults to 0.

Response

The account’s own orders, newest first.

orderslist of objects
hasMoreboolean
nextOffsetintegerOptional

The offset for the next page; present only while hasMore is true.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
502
Bad Gateway Error
503
Service Unavailable Error