API Reference

Kitchen Transfers

4 endpoints· Auth: JWT or API Key
get/api/v1/console/central-kitchen/kitchen-transfers JWT API Key

The branch's recent warehouse→kitchen requests, newest first

Readable by either party: a chef needs to see whether the rice was approved, and an approver needs to see what is waiting. Reading a queue is not deciding it.

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

Query parameters

Status
string
One of `requested` | `approved` | `rejected` — the three rungs this leg uses (FR-KDS-089). Optional; null lists all three.
InventoryItemId
string (uuid)
Narrow to one item. Optional.
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

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/central-kitchen/kitchen-transfers" \
  -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/console/central-kitchen/kitchen-transfers JWT API Key

Ask for stock

Opens at `requested` and moves nothing, unless the caller also holds `approve_transfer` — in which case the document is created already `approved`, the stock move is applied and the `TRANSFER_TO_KITCHEN` audit row is written, all in one transaction. The response says which happened.

Named `Create` rather than `Request`: `ControllerBase.Request` is the ambient `HttpRequest`, and an action that shadows it makes every later reference to `Request` in this class resolve to the wrong thing.

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

Request body

application/json
{
  "inventoryItemId": "00000000-0000-0000-0000-000000000000",
  "quantity": 0,
  "sourceLocationId": "00000000-0000-0000-0000-000000000000",
  "destLocationId": "00000000-0000-0000-0000-000000000000",
  "notes": "string"
}
inventoryItemId
string (uuid)
The branch's own `InventoryItem`. An item belonging to another branch is `NOT_FOUND`, never `FORBIDDEN` — absence and cross-tenant invisibility are the same answer here so a caller cannot probe another branch's item ids.
quantity
number (double)
How much to move, in the item's stock unit. Must be greater than zero. <br>`decimal`, matching `numeric(18,6)` on the ledger. A `double` here would let 0.1 + 0.2 disagree with the balance the movement claims to have caused.
sourceLocationId
string (uuid)
Which book the stock leaves. Null resolves to the branch's canonical warehouse location. <br>Nameable rather than hardcoded because FR-KDS-088 is explicit that a branch may declare any number of locations and that no code path may infer a book from a string literal. A kitchen-kind source is refused: a kitchen-to-kitchen move is not this door.
destLocationId
string (uuid)
Which kitchen the stock arrives at. Null resolves to the branch's canonical kitchen location, which is created on first use if the branch has never declared one.
notes
string
Free text carried onto the document. Optional.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/central-kitchen/kitchen-transfers" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "inventoryItemId": "00000000-0000-0000-0000-000000000000",
  "quantity": 0,
  "sourceLocationId": "00000000-0000-0000-0000-000000000000",
  "destLocationId": "00000000-0000-0000-0000-000000000000",
  "notes": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/central-kitchen/kitchen-transfers/{id}/approve JWT API Key

Approve a pending request and move the stock.,

`approve_transfer`, and deliberately not `transfer_to_kitchen`: this is the step that turns a request into a stock effect, and the separation is the control.

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

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/central-kitchen/kitchen-transfers/{id}/approve" \
  -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/central-kitchen/kitchen-transfers/{id}/reject JWT API Key

Refuse a pending request

Moves no stock.,.

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

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "reason": "string"
}
reason
string
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/central-kitchen/kitchen-transfers/{id}/reject" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "reason": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu