API Reference
Floor Seating
/api/v1/console/pos/orders/{id}/release JWT API KeyFree 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
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{id}/release" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers
/api/v1/console/pos/orders/{id}/table JWT API KeyMove 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
{
"toTableId": "00000000-0000-0000-0000-000000000000"
}| toTableId string (uuid) | — |
Responses
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"
}'Path parameters
Request body (JSON)
Headers