API Reference
KDS Stations
Kitchen display stations and routing.
/api/v1/console/kds/stations JWT API KeyThe branch's stations in routing-precedence order.,
Creation order is not a display preference — it is the order the router walks and the order the lanes appear in. A client that re-sorted this by name would render a board that disagrees with the router about which station is the fallback. So the default (no `sort`) is always `createdAt` ASC; `?sort=name|created_at&dir=` re-orders the admin grid's rows only and is never the board's lane order (`KdsStationListSort`).
- API key scope
- Any key holding a cap: scope (a read every signed-in role can make).
- Roles
OWNERorADMINorBRANCH_MANAGERorCHEF
Query parameters
| Page integer (int32) | — |
| PerPage integer (int32) | — |
| Search string | Free-text filter. Its meaning is per-resource and documented on the endpoint. |
| Skip integer (int32) | Rows to skip, derived — never sent by the caller on this surface. |
| 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
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/kds/stations" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers
/api/v1/console/kds/stations JWTCreate a station.,
Manage roles only.
- Signed-in user only
- Not open to API keys or OAuth tokens.
- Roles
OWNERorADMINorBRANCH_MANAGERorCHEF
Request body
{
"name": "string",
"categoryIds": [
"00000000-0000-0000-0000-000000000000"
],
"isDefault": false,
"productIds": [
"00000000-0000-0000-0000-000000000000"
]
}| name string | "Grill", "Cold", "Expo". Trimmed before persisting (FR-KDS-003). |
| categoryIds string (uuid)[] | Live `product_category` ids of the branch. De-duplicated (FR-KDS-004). |
| isDefault boolean | Make this the branch's default station; the flag is cleared on every other one. |
| productIds string (uuid)[] | Products explicitly routed here (moved from any other station). Null leaves product routing alone; an empty list un-routes every product that pointed here. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/kds/stations" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"name": "string",
"categoryIds": [
"00000000-0000-0000-0000-000000000000"
],
"isDefault": false,
"productIds": [
"00000000-0000-0000-0000-000000000000"
]
}'Request body (JSON)
Headers
/api/v1/console/kds/stations/{id} JWTRename a station.,
Manage roles only.
- Signed-in user only
- Not open to API keys or OAuth tokens.
- Roles
OWNERorADMINorBRANCH_MANAGERorCHEF
Path parameters
| idrequired string (uuid) | — |
Request body
{
"name": "string",
"categoryIds": [
"00000000-0000-0000-0000-000000000000"
],
"isDefault": false,
"productIds": [
"00000000-0000-0000-0000-000000000000"
]
}| name string | — |
| categoryIds string (uuid)[] | — |
| isDefault boolean | — |
| productIds string (uuid)[] | — |
Responses
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/kds/stations/{id}" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"name": "string",
"categoryIds": [
"00000000-0000-0000-0000-000000000000"
],
"isDefault": false,
"productIds": [
"00000000-0000-0000-0000-000000000000"
]
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/kds/stations/{id} JWTRetire a station.,
Manage roles only.
A tombstone with a required reason, never a hard delete. Live tickets routed to it are neither blocked nor orphaned: the board resolves each chit's lane against the live station list, so they surface on the unrouted lane on the next poll (LIM-19).
- Signed-in user only
- Not open to API keys or OAuth tokens.
- Roles
OWNERorADMINorBRANCH_MANAGERorCHEF
Path parameters
| idrequired string (uuid) | — |
Request body
{
"reason": "string"
}| reason string | — |
Responses
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/kds/stations/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers