List orders
List orders. Requires start and end. Optional paymentState filters by payment status. Newest first. Use limit and optional cursor for pagination. Soft-deleted orders are omitted unless includeDeleted=true; those rows are marked deleted: true.
/ordersAuthorizationBearer token (API key) · headerrequiredOrganization API key.
startstring<date-time>requiredStart of the orderDate range, inclusive. UTC with Z suffix, e.g. 2024-01-01T00:00:00.000Z; offsets like +02:00 are rejected.
endstring<date-time>requiredEnd of the orderDate range, inclusive. UTC with Z suffix.
paymentStatestringOptional payment status filter. Omit to return all payment states in the date range.
successfulcancelledtimeoutfailedpendinglimitintegerPage size (1–5000, default 100).
cursorstringOpaque document id for the next page. Do not parse. Follow meta.nextCursor until it is absent.
includeDeletedbooleanWhen true, include soft-deleted orders marked deleted: true. Default false.
Orders with meta
dataOrder[]requiredShow propertiesHide properties
OrderidstringrequiredId
orderIdstringorderDatestring<date-time>transactionDatestring<date-time>paymentMethodstringpaymentStatestringsuccessfulcancelledtimeoutfailedpendingpaymentBrandstringpriceintegerOrder total in cents
storestringStore id
transactionMessagestringgiftcardIdstringgiftcardFunctionstringdeletedbooleanPresent when stored. Lists include orders with deleted: true only with includeDeleted=true; get-by-id always returns them.
productsOrderLine[]requiredShow propertiesHide properties
OrderLineproductIdstringtitlestringpriceintegerLine total in cents.
netPriceintegerNet amount in cents.
depositintegerDeposit in cents.
costPriceintegerquantitynumberweightnumbersupplierstringcategorystringtaxintegerTax amount in cents.
taxRatenumberVAT rate as a decimal fraction (0.081 = 8.1%).
typestringe.g. product, coupon, giftcard.
imageUrlstringoriginalProductIdstringoriginalPriceintegerdiscountnumberundiscountedPriceintegerstorestringprintTicketbooleanmetaListMetarequiredList metadata. returned is the length of data. Soft-deleted catalog rows are omitted from list results, so returned may be less than limit even when more active items exist. When nextCursor is present, more pages may exist — keep paging until nextCursor is absent.
Show propertiesHide properties
totalintegerrequiredWith product search (q) without store: estimated match count. With store: equals returned after store visibility filtering. Otherwise equals returned. Soft-deleted items are omitted, so a page may be shorter than limit even when more active items exist.
returnedintegerrequiredNumber of items in data. With includeDeleted=true (orders), deleted orders count too.
limitintegerrequiredApplied page size.
offsetintegerOnly for product search with q.
nextCursorstringOpaque cursor for the next page; pass it unchanged as cursor. Present when more results may exist. Soft-deleted rows are filtered out after reading, so a page can be shorter than limit while nextCursor is set. Never returned for categories, suppliers and stores, which are not paginated.
Invalid parameters or body.
statusCodeintegerrequiredHTTP status code
messagestringrequiredHuman-readable error message
timestampstring<date-time>requiredWhen the error occurred (UTC).
pathstringrequiredRequest URL (path and query string).
Missing, unknown or inactive API key, or a Read key on a write operation.
statusCodeintegerrequiredHTTP status code
messagestringrequiredHuman-readable error message
timestampstring<date-time>requiredWhen the error occurred (UTC).
pathstringrequiredRequest URL (path and query string).