List a venue's orders
Changed onReturns a venue's unarchived orders with their unvoided lines, kitchen tickets, payments and remaining amount: an operational list, not a sales aggregate, so use query_financial_sales for revenue. Open orders are always included; createdAfter, a UTC calendar date, limits terminal orders to those activated (or, never activated, created) from 00:00 UTC that day, and sending neither status nor createdAfter applies a 90-day default. dateRange is an inclusive pair of venue-local dates in the venue's time zone applied to every status; status, types and tableId narrow further, and shipmentOutcome narrows to a supplier's shipped orders by their shipmentOutcome, needsAttention reading every one whose shipmentNeedsAttention is true. Each shipped supplier order carries shipmentOutcome (inTransit, received, needsAttention, neverReceived or recalled; null on every other order) and shipmentNeedsAttention. At most 1,000 orders are returned, open first and then most recent, in board position order, with no pagination. A caller with order:readAllShifts may omit shiftId to read every shift or name one; any other caller must name a shift they actively take part in (BAD_REQUEST when omitted, FORBIDDEN otherwise). A shift-scoped read also includes open guest orders from the QR menu that carry no shift, unless exactShift is true. Refused with FORBIDDEN as paywallLocked when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Query parameters
Response
OK
Changes
- info
added the new optional
queryrequest parametershipmentOutcome
- info
- info
for the
queryrequest parametertypes, the maxItems was increased from3to4 - info
added the enum value
shipmentto the propertyitems/of thequeryrequest parametertypes
- info