API Reference

Public · Orders

Push and read orders from a partner channel. Idempotency-Key is mandatory on create.

3 endpoints· Auth: API Key
get/api/v1/public/orders API Key

`GET /api/v1/public/orders` — order headers, newest first

Headers and money only; no line items. A partner reconciling a day's sales does not need every modifier on every line, and shipping them would make the page size unpredictable and the projection impossible to change.

Capability
view_reports
Public scope
read:reports

Query parameters

Status
string
One of the seven `ORDER_STATUS` values.
From
string (date)
—
To
string (date)
—
ExternalOrderId
string
The aggregator's own order number, for a partner reconciling its side.
Limit
integer (int32)
—
Offset
integer (int32)
—
Search
string
Free-text filter. Its meaning is per-resource and documented on the endpoint.

Responses

200Success
429RATE_LIMITED — over the per-minute limit or the daily quota. Wait Retry-After seconds, then retry with exponential backoff and jitter.
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/public/orders" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Query parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/public/orders API Key

`POST /api/v1/public/orders` — ring a sale from a partner system

…,.

201 on a fresh create. A retry with the same key and the same body replays the stored response with `deduped: true` — as a success, because a till told "error" on a retry either re-charges the customer or drops the sale. Same key with a different body is 422 `VALIDATION` and executes nothing; a call arriving while the first is still running is 409 `CONFLICT`.

Capability
create_sale
Public scope
write:sales

Request body

application/json
{
  "channelId": "00000000-0000-0000-0000-000000000000",
  "shift": "string",
  "brandId": "00000000-0000-0000-0000-000000000000",
  "lines": [
    {
      "productId": "00000000-0000-0000-0000-000000000000",
      "quantity": 0,
      "modifierOptionIds": [
        "00000000-0000-0000-0000-000000000000"
      ]
    }
  ],
  "tenders": [
    {
      "methodId": "00000000-0000-0000-0000-000000000000",
      "amount": 0
    }
  ],
  "externalOrderId": "string",
  "currencyCode": "string",
  "capturedAt": "2026-11-27T14:05:13.321Z"
}
channelId
string (uuid)
The sales channel this order arrived on. Branch-scoped and resolved server-side.
shift
string
`morning` | `evening` (FR-POS-006).
brandId
string (uuid)
—
lines
PublicCreateOrderLineRequest[]
The cart. Empty is refused before any database work.
tenders
PublicCreateOrderTenderRequest[]
The settle. Empty means ACCOUNT on a `delivery_app` channel (FR-POS-025) — which is the normal shape for an aggregator order, where the platform collects and settles later.
externalOrderId
string
The aggregator's own order number. Unique per `(branch, channel)` (FR-POS-027).
currencyCode
string
Defaults to the branch's base currency. Frozen on the row (FR-POS-093).
capturedAt
string (date-time)
When the partner's system captured the sale. <b>Accepted for wire compatibility and not honoured</b>: a public sale is a live sale, dated by the server's clock and run past every live guard — a caller-supplied instant would let a key holder back-date revenue into an earlier open day. Only the offline sync drain may date a sale by its capture. A business day that is locked still comes back as `PERIOD_LOCKED` (FR-API-036).

Responses

200Success
429RATE_LIMITED — over the per-minute limit or the daily quota. Wait Retry-After seconds, then retry with exponential backoff and jitter.
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/public/orders" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "channelId": "00000000-0000-0000-0000-000000000000",
  "shift": "string",
  "brandId": "00000000-0000-0000-0000-000000000000",
  "lines": [
    {
      "productId": "00000000-0000-0000-0000-000000000000",
      "quantity": 0,
      "modifierOptionIds": [
        "00000000-0000-0000-0000-000000000000"
      ]
    }
  ],
  "tenders": [
    {
      "methodId": "00000000-0000-0000-0000-000000000000",
      "amount": 0
    }
  ],
  "externalOrderId": "string",
  "currencyCode": "string",
  "capturedAt": "2026-11-27T14:05:13.321Z"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/public/orders/{id} API Key

`GET /api/v1/public/orders/{id}`

A guessed cross-tenant id returns `NOT_FOUND`, never `FORBIDDEN`: absence and cross-tenant invisibility must be indistinguishable, or the endpoint becomes an oracle for enumerating another install's orders.

Capability
view_reports
Public scope
read:reports

Path parameters

idrequired
string (uuid)
—

Responses

200Success
429RATE_LIMITED — over the per-minute limit or the daily quota. Wait Retry-After seconds, then retry with exponential backoff and jitter.
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/public/orders/{id}" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu