API Reference

Delivery Reviews

4 endpoints· Auth: JWT or API Key
post/api/v1/console/delivery/reviews JWT API Key

Submit a completed sweep., …,

A dated write: it moves a channel receivable, so a locked business day comes back as `PERIOD_LOCKED` with the guard's own message.

Capability
submit_delivery_review
API key scope
cap:submit_delivery_review (the key's owner must also hold the capability)
Plan feature
delivery must be on the branch's plan, or the call answers 403.

Request body

application/json
{
  "lines": [
    {
      "channelId": "00000000-0000-0000-0000-000000000000",
      "hasUnreceived": false
    }
  ],
  "returns": [
    {
      "orderId": "00000000-0000-0000-0000-000000000000",
      "returnCondition": "string",
      "customerName": "string",
      "notes": "string"
    }
  ],
  "note": "string"
}
lines
DeliveryReviewLineRequest[]
—
returns
UnreceivedOrderRequest[]
—
note
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/delivery/reviews" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "lines": [
    {
      "channelId": "00000000-0000-0000-0000-000000000000",
      "hasUnreceived": false
    }
  ],
  "returns": [
    {
      "orderId": "00000000-0000-0000-0000-000000000000",
      "returnCondition": "string",
      "customerName": "string",
      "notes": "string"
    }
  ],
  "note": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/delivery/reviews/compliance JWT API Key

The compliance tiles — cadence, reviews today, expected slots, overdue.,

Capability
submit_delivery_review
API key scope
cap:submit_delivery_review (the key's owner must also hold the capability)
Plan feature
delivery must be on the branch's plan, or the call answers 403.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/delivery/reviews/compliance" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/delivery/reviews/missed JWT API Key

Report an overdue sweep

Called by the client's own timer, so it is idempotent by construction: at most one case per gap, and nothing at all on a day with no activity. A polling client must not be able to fill the alert centre.

Capability
submit_delivery_review
API key scope
cap:submit_delivery_review (the key's owner must also hold the capability)
Plan feature
delivery must be on the branch's plan, or the call answers 403.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/delivery/reviews/missed" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/delivery/reviews/returnable-orders JWT API Key

Today's on-account orders that may still be marked undelivered

The pool is the whole point: the cashier picks an order and the server reads the money off the frozen row. A hand-entered order value would be an unaudited write-down.

Capability
submit_delivery_review
API key scope
cap:submit_delivery_review (the key's owner must also hold the capability)
Plan feature
delivery must be on the branch's plan, or the call answers 403.

Query parameters

Sort
string
A snake_case column key from the endpoint's allow-list (`created_at`, `gross_total`, `status` …). Absent or blank → the endpoint's default order.
Dir
string
`asc` (the default when Panoptes.Application.Common.SortableRequest.Sort is present) or `desc`. Ignored without a sort.

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/delivery/reviews/returnable-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