API Reference

Modifiers

8 endpoints· Auth: JWT or API Key
get/api/v1/console/modifiers/groups JWT API Key

List this branch's groups with their live options

API key scope
Any key holding a cap: scope (a read every signed-in role can make).

Query parameters

ProductId
string (uuid)
Restrict to one product's groups. Optional.
IncludeDeleted
boolean
Include tombstoned groups. Gated on `edit_recipe` in the service.
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/modifiers/groups" \
  -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/modifiers/groups JWT API Key

Define a choice group on a product

Capability
edit_recipe
API key scope
cap:edit_recipe (the key's owner must also hold the capability)
Public scope
write:catalog

Request body

application/json
{
  "productId": "00000000-0000-0000-0000-000000000000",
  "label": "string",
  "minSelect": 0,
  "maxSelect": 0,
  "required": false,
  "sortOrder": 0
}
productId
string (uuid)
—
label
string
—
minSelect
integer (int32)
Minimum choices, 0–20. A group with `minSelect >= 1` is effectively required.
maxSelect
integer (int32)
Maximum choices, 1–20, never below Panoptes.Application.DTOs.Requests.Catalog.CreateModifierGroupRequest.MinSelect.
required
boolean
Refuse the line when the group has no choice at all.
sortOrder
integer (int32)
—

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/modifiers/groups" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "productId": "00000000-0000-0000-0000-000000000000",
  "label": "string",
  "minSelect": 0,
  "maxSelect": 0,
  "required": false,
  "sortOrder": 0
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/modifiers/groups/{id} JWT API Key

One group

API key scope
Any key holding a cap: scope (a read every signed-in role can make).

Path parameters

idrequired
string (uuid)
—

Responses

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

Path parameters

Headers

Set credentials in the “Authorize” menu
delete/api/v1/console/modifiers/groups/{id} JWT API Key

Retire a group, its options and their BOM edges together

Capability
edit_recipe
API key scope
cap:edit_recipe (the key's owner must also hold the capability)
Public scope
write:catalog

Path parameters

idrequired
string (uuid)
—

Request body

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

Responses

200Success
cURL
curl -X DELETE "https://staging-api.panoptesos.com/api/v1/console/modifiers/groups/{id}" \
  -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/modifiers/options JWT API Key

Add a choice, with its optional signed BOM edge.,

Capability
edit_recipe
API key scope
cap:edit_recipe (the key's owner must also hold the capability)
Public scope
write:catalog

Request body

application/json
{
  "groupId": "00000000-0000-0000-0000-000000000000",
  "label": "string",
  "priceDeltaIqd": 0,
  "isDefault": false,
  "sortOrder": 0,
  "inventoryItemId": "00000000-0000-0000-0000-000000000000",
  "qtyPerParentUnit": 0,
  "sign": 0
}
groupId
string (uuid)
—
label
string
—
priceDeltaIqd
integer (int64)
Signed minor units, bounded to ±1,000,000.
isDefault
boolean
—
sortOrder
integer (int32)
—
inventoryItemId
string (uuid)
The inventory item this choice adds or removes. Null = a price-only option.
qtyPerParentUnit
number (double)
Stock units per one unit of the parent product, `numeric(18,6)`, strictly positive.
sign
integer (int32)
+1 issues stock, −1 credits it back. Only a modifier option may carry −1.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/modifiers/options" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "groupId": "00000000-0000-0000-0000-000000000000",
  "label": "string",
  "priceDeltaIqd": 0,
  "isDefault": false,
  "sortOrder": 0,
  "inventoryItemId": "00000000-0000-0000-0000-000000000000",
  "qtyPerParentUnit": 0,
  "sign": 0
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
delete/api/v1/console/modifiers/options/{id} JWT API Key

Retire one option and its BOM edge

Capability
edit_recipe
API key scope
cap:edit_recipe (the key's owner must also hold the capability)
Public scope
write:catalog

Path parameters

idrequired
string (uuid)
—

Request body

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

Responses

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

Path parameters

Headers

Set credentials in the “Authorize” menu
patch/api/v1/console/modifiers/options/{id}/availability JWT API Key

86 an option, or bring it back (N9)

The till shows an unavailable option dimmed and the sale core refuses it; the option keeps its price and its ingredient edge.

Capability
edit_recipe
API key scope
cap:edit_recipe (the key's owner must also hold the capability)
Public scope
write:catalog

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "available": false
}
available
boolean
—

Responses

200Success
cURL
curl -X PATCH "https://staging-api.panoptesos.com/api/v1/console/modifiers/options/{id}/availability" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "available": false
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
post/api/v1/console/modifiers/validate-selection JWT

Check a cart line's chosen options against the product's groups

Ungated beyond authentication: it is a read that answers a question the POS asks while the cashier is still building the line. ① records that the reference never called this check on the server at all, so a sale posted directly bypassed every arity rule — this endpoint is where that stops.

Signed-in user only
Not open to API keys or OAuth tokens.

Request body

application/json
{
  "productId": "00000000-0000-0000-0000-000000000000",
  "optionIds": [
    "00000000-0000-0000-0000-000000000000"
  ]
}
productId
string (uuid)
—
optionIds
string (uuid)[]
The option ids the cashier picked, across every group on the product.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/modifiers/validate-selection" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "productId": "00000000-0000-0000-0000-000000000000",
  "optionIds": [
    "00000000-0000-0000-0000-000000000000"
  ]
}'
Try itagainst staging · https://staging-api.panoptesos.com

Request body (JSON)

Headers

This action refuses API keys — it needs a signed-in user. Switch to a JWT under Authorize, or do it in the dashboard.
Set credentials in the “Authorize” menu