API Reference

Floor Seating

2 endpoints· Auth: JWT or API Key
post/api/v1/console/pos/orders/{id}/release JWT API Key

Free the seat

One `RELEASE_TABLE` audit row.

A release stamps `Order.closedAt` and touches nothing else — never a status change. A quick-service bill settled at creation and `delivered` means the food reached the table, not that the guests left, so this explicit act is what ends that order's hold on the table. An open tab (`TabsController`,) holds its table until it is settled, cancelled, moved or merged; a tab settled without `releaseTable` becomes an order released here like any other.

No body: the order id is the whole of the request, and the table being freed is read from the order rather than accepted from the caller. Releasing an already-released order is an idempotent success.

Capability
assign_table
API key scope
cap:assign_table (the key's owner must also hold the capability)

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{id}/release" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/pos/orders/{id}/table JWT API Key

Move a live dine-in order to another table

One `MOVE_ORDER_TABLE` audit row.

Five refusals, all `CONFLICT` rather than `422` — the request is well-formed and it is the world's state that refuses it: an order whose channel type is not `dine_in`, an order already released or already terminal, a table that is out of service, and a target that already carries another live order. A table in another branch is `NOT_FOUND`, never `FORBIDDEN`.

Moving an order to the table it is already on is an idempotent success that writes nothing and audits nothing.

Capability
assign_table
API key scope
cap:assign_table (the key's owner must also hold the capability)

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "toTableId": "00000000-0000-0000-0000-000000000000"
}
toTableId
string (uuid)
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{id}/table" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "toTableId": "00000000-0000-0000-0000-000000000000"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu