API Reference
POS Orders
Open, ring up, fire, pay and close POS orders.
/api/v1/console/pos/orders JWT API KeyList the branch's orders — the drill-through target for every report
No capability gate: anyone who works the floor must be able to see the day's orders. The scope is the control and it is applied in the service, and the profit columns are separately withheld from a caller without `view_profit`.
- API key scope
- Any key holding a cap: scope (a read every signed-in role can make).
Query parameters
| Status string | One of the seven `ORDER_STATUS` values. Optional. |
| ChannelId string (uuid) | — |
| CashierId string (uuid) | — |
| DiningTableId string (uuid) | — |
| Date string (date) | A single business day. Wins over Panoptes.Application.DTOs.Requests.Pos.ListOrdersRequest.From/Panoptes.Application.DTOs.Requests.Pos.ListOrdersRequest.To (FR-POS-083). |
| From string (date) | — |
| To string (date) | — |
| FromTime string | Optional start time, `HH:mm` Baghdad local, on `from` (or `date`). Order-based reads only; 422 on a bad format (see `TimeOfDayRange`). |
| ToTime string | Optional end time, `HH:mm` Baghdad local, on `to` (or `date`), end minute inclusive. Start must be <= end. |
| IncludeDeleted boolean | Include tombstoned orders (FR-POS-097). Gated on `cancel_order` in the service. |
| Daypart string | One of the six Baghdad dayparts (`fajr | morning | lunch | afternoon | dinner | late`, FR-RPT-024) — the drill-through from the sales-by-daypart report (benchmark RPT C9). Applied within the Panoptes.Application.DTOs.Requests.Pos.ListOrdersRequest.Date or Panoptes.Application.DTOs.Requests.Pos.ListOrdersRequest.From/Panoptes.Application.DTOs.Requests.Pos.ListOrdersRequest.To window (today when neither is given); an unknown name is refused rather than ignored. |
| 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/pos/orders" \
-H "X-Api-Key: <YOUR_API_KEY>"Query parameters
Headers
/api/v1/console/pos/orders JWT API KeyRing a sale
One call prices the cart, draws capacity, rice and kitchen stock, writes the execution plan, settles the tenders and appends one audit row — in one transaction. A repeat presentation of the idempotency key returns `201`'s sibling `200`-shaped body with `deduped: true` and creates nothing.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Request body
{
"idempotencyKey": "string",
"channelId": "00000000-0000-0000-0000-000000000000",
"shift": "string",
"brandId": "00000000-0000-0000-0000-000000000000",
"diningTableId": "00000000-0000-0000-0000-000000000000",
"waiterId": "00000000-0000-0000-0000-000000000000",
"lines": [
{
"productId": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"taxCodeId": "00000000-0000-0000-0000-000000000000",
"manualDiscountIqd": 0,
"discountReason": "string",
"modifierOptionIds": [
"00000000-0000-0000-0000-000000000000"
],
"comboChoices": [],
"seatNumber": 0,
"courseNumber": 0,
"stationId": "00000000-0000-0000-0000-000000000000",
"note": "string"
}
],
"tenders": [
{
"methodId": "00000000-0000-0000-0000-000000000000",
"amountIqd": 0,
"tenderedIqd": 0,
"seatNumber": 0
}
],
"checkDiscountIqd": 0,
"discountReason": "string",
"splitBySeat": false,
"externalOrderId": "string",
"currencyCode": "string",
"replayMode": false,
"capturedAt": "2026-11-27T14:05:12.722Z",
"clientSeq": 0,
"deviceId": "string",
"provisionalTotalIqd": 0,
"priceSnapshotAt": "2026-11-27T14:05:12.722Z",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string",
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"loyaltyRedeemPoints": 0,
"customerPhone": "string",
"deliveryArea": "string",
"deliveryAddress": "string",
"note": "string"
}| idempotencyKey string | The client-minted replay key, unique per branch. Blank is <b>rejected</b>, never tolerated (FR-POS-002). |
| channelId string (uuid) | — |
| shift string | `morning` | `evening` — the Postgres `shift` enum (FR-POS-006). |
| brandId string (uuid) | — |
| diningTableId string (uuid) | Required when the branch has at least one active table and the channel is dine-in (FR-POS-028). |
| waiterId string (uuid) | App-resolved, FK-less by house convention; unenforced by design (§5.4.11 §22). |
| lines CreateSaleLineRequest[] | The cart. An empty cart is refused before any database work (FR-POS-006). |
| tenders SaleTenderRequest[] | The settle. Empty means ACCOUNT on a `delivery_app` channel (FR-POS-025); on any other channel an empty settle cannot balance and is refused. |
| checkDiscountIqd integer (int64) | Whole-check manual discount, minor units. Needs a reason (FR-POS-017). |
| discountReason string | — |
| splitBySeat boolean | Write one `OrderCheck` per distinct seat named by a tender (FR-POS-024). Single-check orders create no rows at all. |
| externalOrderId string | The aggregator's own order number. Unique per `(branch, channel)` (FR-POS-027). |
| currencyCode string | Defaults to the branch's base currency. Frozen on the row (FR-POS-093). |
| replayMode boolean | <b>The offline-replay exemption</b> (FR-POS-069, INV-001). True only when draining the device outbox: the food already left the kitchen, so the capacity, rice and stock guards are skipped and the overshoot is recorded as a fraud case rather than denied retroactively. <br><b>This and the five fields below are the device's wire shape, honoured by the sync drain alone.</b> Any other door — the console till and its quote, the public API, ingest, QR — binds or builds them only to have the sale core's live door strip them (`SaleRequestDoors.Live`); the replay door forces this flag on. Never trust it from a body. |
| capturedAt string (date-time) | The instant the device captured the sale. Resolves the replay's business day through the period guard (FR-POS-070). |
| clientSeq integer (int64) | — |
| deviceId string | — |
| provisionalTotalIqd integer (int64) | The total the device showed and settled against while it was offline (FR-OFF-098) — what the customer was charged. Read on a replay only: when the server's re-price at drain time differs and the device's price snapshot still covered the capture, the sale is booked at this figure and the difference becomes a reviewed price variance, never a refusal (FR-OFF-060/061). |
| priceSnapshotAt string (date-time) | When the device's price snapshot was generated — the cold-paint reference's `generatedAt` it priced the cart from (FR-OFF-013). Read on a replay only. |
| approverUserId string (uuid) | The manager whose passcode authorises a discount at or above the alert threshold when the actor lacks `override_discount` (FR-POS-018). A cashier's own password never self-authorises: the approver is resolved and recorded separately from the actor. |
| approverPasscode string | — |
| guestId string (uuid) | The CRM guest the sale is rung for (CRM-MODULE-PLAN §3.2). A merged duplicate's id resolves to its survivor. Wins over Panoptes.Application.DTOs.Requests.Pos.CreateSaleRequest.GuestPhone. |
| guestPhone string | The guest's phone, as typed — normalised server-side. A phone no live guest holds creates the guest inside the sale transaction. |
| guestName string | The name to give a guest the phone creates. Ignored for an existing guest. |
| loyaltyRedeemPoints integer (int64) | Points to take off this check (LOYALTY-MODEL-PLAN §8). Refused — never trimmed — when it is more than the guest holds, more than the check still has to pay after every other discount, or less than the program's minimum; the quote states the most the check can take. |
| customerPhone string | The customer's phone for the restaurant's own delivery (channel type `delivery`, required there; owner spec 2026-11-26). Kept as typed: it is the driver's number to call, not a CRM identity (that is Panoptes.Application.DTOs.Requests.Pos.CreateSaleRequest.GuestPhone). |
| deliveryArea string | The delivery area, as the cashier names it (required on a `delivery` channel). |
| deliveryAddress string | The delivery address (required on a `delivery` channel). |
| note string | An order-level instruction for the kitchen, printed on every chit. Never priced. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/orders" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"idempotencyKey": "string",
"channelId": "00000000-0000-0000-0000-000000000000",
"shift": "string",
"brandId": "00000000-0000-0000-0000-000000000000",
"diningTableId": "00000000-0000-0000-0000-000000000000",
"waiterId": "00000000-0000-0000-0000-000000000000",
"lines": [
{
"productId": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"taxCodeId": "00000000-0000-0000-0000-000000000000",
"manualDiscountIqd": 0,
"discountReason": "string",
"modifierOptionIds": [
"00000000-0000-0000-0000-000000000000"
],
"comboChoices": [],
"seatNumber": 0,
"courseNumber": 0,
"stationId": "00000000-0000-0000-0000-000000000000",
"note": "string"
}
],
"tenders": [
{
"methodId": "00000000-0000-0000-0000-000000000000",
"amountIqd": 0,
"tenderedIqd": 0,
"seatNumber": 0
}
],
"checkDiscountIqd": 0,
"discountReason": "string",
"splitBySeat": false,
"externalOrderId": "string",
"currencyCode": "string",
"replayMode": false,
"capturedAt": "2026-11-27T14:05:12.720Z",
"clientSeq": 0,
"deviceId": "string",
"provisionalTotalIqd": 0,
"priceSnapshotAt": "2026-11-27T14:05:12.720Z",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string",
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"loyaltyRedeemPoints": 0,
"customerPhone": "string",
"deliveryArea": "string",
"deliveryAddress": "string",
"note": "string"
}'Request body (JSON)
Headers
/api/v1/console/pos/orders/{id} JWT API KeyOne order with its lines, tenders and split checks
`?sort=&dir=` orders the lines (`OrderLineSort`); without it they come in plate order.
- API key scope
- Any key holding a cap: scope (a read every signed-in role can make).
Path parameters
| idrequired string (uuid) | — |
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
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{id}" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Query parameters
Headers
/api/v1/console/pos/orders/{id}/cancel JWT API KeyCancel an open order with a reason and a disposition
Gated on `cancel_order`, which the cashier does hold — cancelling a whole order before it leaves the kitchen is till work. Reversing one line of a settled order is not, which is why the three routes below are gated differently.
- Capability
cancel_order- API key scope
cap:cancel_order(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"reason": "string",
"disposition": "string",
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}| reason string | Required, trimmed, bounded to 500 characters. |
| disposition string | `void` | `comp`. |
| shift string | `morning` | `evening` — the shift this reversal is made in, whose drawer any cash it hands back leaves (N2). Blank means the order's own shift. |
| approverUserId string (uuid) | — |
| approverPasscode string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{id}/cancel" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string",
"disposition": "string",
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/orders/{id}/refund JWT API KeyPost-fulfilment refund.,
Same separation of duties as M:Panoptes.Api.Controllers.V1.Console.Pos.OrdersController.VoidLine(System.Guid,System.Guid,Panoptes.Application.DTOs.Requests.Pos.VoidLineRequest,System.Threading.CancellationToken). Permitted only from `picked_up` or `delivered`, and never for more than the order's inbound tenders.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| idrequired string (uuid) | — |
Request body
{
"reason": "string",
"reasonCode": "string",
"lines": [
{
"orderItemId": "00000000-0000-0000-0000-000000000000",
"disposition": "string",
"quantity": 0
}
],
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}| reason string | — |
| reasonCode string | The coded reason (comeback r2, POS B8) — one of `ReversalReasonCodes` for this kind; optional, beside the free-text reason that stays required. |
| lines RefundLineRequest[] | The lines being refunded, each with an explicit disposition. |
| shift string | `morning` | `evening` — the shift this reversal is made in, whose drawer any cash it hands back leaves (N2). Blank means the order's own shift. |
| approverUserId string (uuid) | — |
| approverPasscode string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{id}/refund" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string",
"reasonCode": "string",
"lines": [
{
"orderItemId": "00000000-0000-0000-0000-000000000000",
"disposition": "string",
"quantity": 0
}
],
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/orders/{id}/status JWT API KeyAdvance the fulfilment ladder
A backwards or off-ladder target is `409 CONFLICT`, not `422`: the request is well-formed and it is the order's state that refuses it.
- Capability
update_order_status- API key scope
cap:update_order_status(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Request body
{
"status": "string"
}| status string | `received|preparing|ready|picked_up|delivered`. Off-ladder is refused with "use Cancel". |
Responses
curl -X PATCH "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{id}/status" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"status": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/orders/{orderId}/lines/{lineId}/comp JWT API KeyComp one line — the food was served, the price is forgiven
Same separation of duties as M:Panoptes.Api.Controllers.V1.Console.Pos.OrdersController.VoidLine(System.Guid,System.Guid,Panoptes.Application.DTOs.Requests.Pos.VoidLineRequest,System.Threading.CancellationToken). The forgone price lands in the owner's loss figure through the `comp_void` slice; the COGS stays in cost of goods sold, because the food really was made and eaten.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| orderIdrequired string (uuid) | — |
| lineIdrequired string (uuid) | — |
Request body
{
"reason": "string",
"reasonCode": "string",
"quantity": 0,
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}| reason string | — |
| reasonCode string | The coded reason (comeback r2, POS B8) — one of `ReversalReasonCodes` for this kind; optional, beside the free-text reason that stays required. |
| quantity integer (int32) | Units to reverse; blank reverses everything the line has left. Partial reversals of one line accumulate, and together never reverse more than it sold (N3). |
| shift string | `morning` | `evening` — the shift this reversal is made in, whose drawer any cash it hands back leaves (N2). Blank means the order's own shift. |
| approverUserId string (uuid) | — |
| approverPasscode string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{orderId}/lines/{lineId}/comp" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string",
"reasonCode": "string",
"quantity": 0,
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/orders/{orderId}/lines/{lineId}/void JWT API KeyVoid one line
Separation of duties: `void_line` is an Owner/Admin capability. A cashier reaches this route — the attribute below only asserts they work the till — and the service then requires either the capability or a manager passcode verified against a branch user whose effective role holds it, recording the approver beside the actor.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)- Idempotency
- Send an
Idempotency-Keyheader (a UUID you mint). A retry with the same key replays the first answer.
Path parameters
| orderIdrequired string (uuid) | — |
| lineIdrequired string (uuid) | — |
Request body
{
"reason": "string",
"reasonCode": "string",
"fired": false,
"quantity": 0,
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}| reason string | — |
| reasonCode string | The coded reason (comeback r2, POS B8) — one of `ReversalReasonCodes` for this kind; optional, beside the free-text reason that stays required. |
| fired boolean | The operator's explicit firedness override. Wins over the per-line `firedAt` stamp and over the order-status fallback (FR-POS-047, BR-POS-9). |
| quantity integer (int32) | Units to reverse; blank reverses everything the line has left. Partial reversals of one line accumulate, and together never reverse more than it sold (N3). |
| shift string | `morning` | `evening` — the shift this reversal is made in, whose drawer any cash it hands back leaves (N2). Blank means the order's own shift. |
| approverUserId string (uuid) | — |
| approverPasscode string | — |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/orders/{orderId}/lines/{lineId}/void" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"reason": "string",
"reasonCode": "string",
"fired": false,
"quantity": 0,
"shift": "string",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/pos/quote JWT API KeyCreate quote
Price a cart without ringing it — the same cart builder and the same money fold the sale runs, so the till shows a server figure instead of adding up its own lines. With a guest named it also answers who the phone is, what they hold, the most this check can take in points and what the sale would earn (LOYALTY-MODEL-PLAN). Writes nothing; no period guard.
- Capability
create_sale- API key scope
cap:create_sale(the key's owner must also hold the capability)
Request body
{
"idempotencyKey": "string",
"channelId": "00000000-0000-0000-0000-000000000000",
"shift": "string",
"brandId": "00000000-0000-0000-0000-000000000000",
"diningTableId": "00000000-0000-0000-0000-000000000000",
"waiterId": "00000000-0000-0000-0000-000000000000",
"lines": [
{
"productId": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"taxCodeId": "00000000-0000-0000-0000-000000000000",
"manualDiscountIqd": 0,
"discountReason": "string",
"modifierOptionIds": [
"00000000-0000-0000-0000-000000000000"
],
"comboChoices": [],
"seatNumber": 0,
"courseNumber": 0,
"stationId": "00000000-0000-0000-0000-000000000000",
"note": "string"
}
],
"tenders": [
{
"methodId": "00000000-0000-0000-0000-000000000000",
"amountIqd": 0,
"tenderedIqd": 0,
"seatNumber": 0
}
],
"checkDiscountIqd": 0,
"discountReason": "string",
"splitBySeat": false,
"externalOrderId": "string",
"currencyCode": "string",
"replayMode": false,
"capturedAt": "2026-11-27T14:05:12.723Z",
"clientSeq": 0,
"deviceId": "string",
"provisionalTotalIqd": 0,
"priceSnapshotAt": "2026-11-27T14:05:12.723Z",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string",
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"loyaltyRedeemPoints": 0,
"customerPhone": "string",
"deliveryArea": "string",
"deliveryAddress": "string",
"note": "string"
}| idempotencyKey string | The client-minted replay key, unique per branch. Blank is <b>rejected</b>, never tolerated (FR-POS-002). |
| channelId string (uuid) | — |
| shift string | `morning` | `evening` — the Postgres `shift` enum (FR-POS-006). |
| brandId string (uuid) | — |
| diningTableId string (uuid) | Required when the branch has at least one active table and the channel is dine-in (FR-POS-028). |
| waiterId string (uuid) | App-resolved, FK-less by house convention; unenforced by design (§5.4.11 §22). |
| lines CreateSaleLineRequest[] | The cart. An empty cart is refused before any database work (FR-POS-006). |
| tenders SaleTenderRequest[] | The settle. Empty means ACCOUNT on a `delivery_app` channel (FR-POS-025); on any other channel an empty settle cannot balance and is refused. |
| checkDiscountIqd integer (int64) | Whole-check manual discount, minor units. Needs a reason (FR-POS-017). |
| discountReason string | — |
| splitBySeat boolean | Write one `OrderCheck` per distinct seat named by a tender (FR-POS-024). Single-check orders create no rows at all. |
| externalOrderId string | The aggregator's own order number. Unique per `(branch, channel)` (FR-POS-027). |
| currencyCode string | Defaults to the branch's base currency. Frozen on the row (FR-POS-093). |
| replayMode boolean | <b>The offline-replay exemption</b> (FR-POS-069, INV-001). True only when draining the device outbox: the food already left the kitchen, so the capacity, rice and stock guards are skipped and the overshoot is recorded as a fraud case rather than denied retroactively. <br><b>This and the five fields below are the device's wire shape, honoured by the sync drain alone.</b> Any other door — the console till and its quote, the public API, ingest, QR — binds or builds them only to have the sale core's live door strip them (`SaleRequestDoors.Live`); the replay door forces this flag on. Never trust it from a body. |
| capturedAt string (date-time) | The instant the device captured the sale. Resolves the replay's business day through the period guard (FR-POS-070). |
| clientSeq integer (int64) | — |
| deviceId string | — |
| provisionalTotalIqd integer (int64) | The total the device showed and settled against while it was offline (FR-OFF-098) — what the customer was charged. Read on a replay only: when the server's re-price at drain time differs and the device's price snapshot still covered the capture, the sale is booked at this figure and the difference becomes a reviewed price variance, never a refusal (FR-OFF-060/061). |
| priceSnapshotAt string (date-time) | When the device's price snapshot was generated — the cold-paint reference's `generatedAt` it priced the cart from (FR-OFF-013). Read on a replay only. |
| approverUserId string (uuid) | The manager whose passcode authorises a discount at or above the alert threshold when the actor lacks `override_discount` (FR-POS-018). A cashier's own password never self-authorises: the approver is resolved and recorded separately from the actor. |
| approverPasscode string | — |
| guestId string (uuid) | The CRM guest the sale is rung for (CRM-MODULE-PLAN §3.2). A merged duplicate's id resolves to its survivor. Wins over Panoptes.Application.DTOs.Requests.Pos.CreateSaleRequest.GuestPhone. |
| guestPhone string | The guest's phone, as typed — normalised server-side. A phone no live guest holds creates the guest inside the sale transaction. |
| guestName string | The name to give a guest the phone creates. Ignored for an existing guest. |
| loyaltyRedeemPoints integer (int64) | Points to take off this check (LOYALTY-MODEL-PLAN §8). Refused — never trimmed — when it is more than the guest holds, more than the check still has to pay after every other discount, or less than the program's minimum; the quote states the most the check can take. |
| customerPhone string | The customer's phone for the restaurant's own delivery (channel type `delivery`, required there; owner spec 2026-11-26). Kept as typed: it is the driver's number to call, not a CRM identity (that is Panoptes.Application.DTOs.Requests.Pos.CreateSaleRequest.GuestPhone). |
| deliveryArea string | The delivery area, as the cashier names it (required on a `delivery` channel). |
| deliveryAddress string | The delivery address (required on a `delivery` channel). |
| note string | An order-level instruction for the kitchen, printed on every chit. Never priced. |
Responses
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/pos/quote" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"idempotencyKey": "string",
"channelId": "00000000-0000-0000-0000-000000000000",
"shift": "string",
"brandId": "00000000-0000-0000-0000-000000000000",
"diningTableId": "00000000-0000-0000-0000-000000000000",
"waiterId": "00000000-0000-0000-0000-000000000000",
"lines": [
{
"productId": "00000000-0000-0000-0000-000000000000",
"quantity": 0,
"taxCodeId": "00000000-0000-0000-0000-000000000000",
"manualDiscountIqd": 0,
"discountReason": "string",
"modifierOptionIds": [
"00000000-0000-0000-0000-000000000000"
],
"comboChoices": [],
"seatNumber": 0,
"courseNumber": 0,
"stationId": "00000000-0000-0000-0000-000000000000",
"note": "string"
}
],
"tenders": [
{
"methodId": "00000000-0000-0000-0000-000000000000",
"amountIqd": 0,
"tenderedIqd": 0,
"seatNumber": 0
}
],
"checkDiscountIqd": 0,
"discountReason": "string",
"splitBySeat": false,
"externalOrderId": "string",
"currencyCode": "string",
"replayMode": false,
"capturedAt": "2026-11-27T14:05:12.721Z",
"clientSeq": 0,
"deviceId": "string",
"provisionalTotalIqd": 0,
"priceSnapshotAt": "2026-11-27T14:05:12.721Z",
"approverUserId": "00000000-0000-0000-0000-000000000000",
"approverPasscode": "string",
"guestId": "00000000-0000-0000-0000-000000000000",
"guestPhone": "string",
"guestName": "string",
"loyaltyRedeemPoints": 0,
"customerPhone": "string",
"deliveryArea": "string",
"deliveryAddress": "string",
"note": "string"
}'Request body (JSON)
Headers