API Reference
Central Menu
The organisation's central menu shared across branches.
5 endpoints· Auth: JWT or API Key
get
/api/v1/console/hq/central-menu JWT API KeyHQ items × branches, each cell resolved
- Capability (any)
manage_orgorview_hq- API key scope
cap:manage_orgorcap:view_hq(the key's owner must also hold the capability)- Plan feature
multi_branchmust be on the branch's plan, or the call answers 403.
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/hq/central-menu" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Headers
Set credentials in the “Authorize” menu
post
/api/v1/console/hq/central-menu/products JWT API KeyCreate products
- Capability
manage_org- API key scope
cap:manage_org(the key's owner must also hold the capability)- Plan feature
multi_branchmust be on the branch's plan, or the call answers 403.
Request body
application/json
{
"name": "string",
"nameAr": "string",
"basePrice": 0
}| name string | — |
| nameAr string | — |
| basePrice integer (int64) | The master price, minor units (IQD), at least zero. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/hq/central-menu/products" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"name": "string",
"nameAr": "string",
"basePrice": 0
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
put
/api/v1/console/hq/central-menu/products/{id} JWT API KeyUpdate id
- Capability
manage_org- API key scope
cap:manage_org(the key's owner must also hold the capability)- Plan feature
multi_branchmust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
application/json
{
"name": "string",
"nameAr": "string",
"basePrice": 0,
"active": false
}| name string | — |
| nameAr string | — |
| basePrice integer (int64) | — |
| active boolean | False retires the item: linked branches fall back to their own pinned price. |
Responses
200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/hq/central-menu/products/{id}" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"name": "string",
"nameAr": "string",
"basePrice": 0,
"active": false
}' Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
put
/api/v1/console/hq/central-menu/products/{id}/branches/{branchId} JWT API KeyOne branch's override (price, availability, hidden)
Defaults clear it.
- Capability
manage_org- API key scope
cap:manage_org(the key's owner must also hold the capability)- Plan feature
multi_branchmust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
| branchIdrequired string (uuid) | — |
Request body
application/json
{
"priceOverride": 0,
"available": false,
"hidden": false
}| priceOverride integer (int64) | Minor units, at least zero; null = inherit the central price (times the branch's tier). |
| available boolean | False = this branch does not sell the item (the sale refuses it). |
| hidden boolean | True = left off the branch's guest-facing menus; still sellable at the till. |
Responses
200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/hq/central-menu/products/{id}/branches/{branchId}" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"priceOverride": 0,
"available": false,
"hidden": 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/hq/central-menu/products/{id}/publish JWT API KeyPublish the item into branch menus — idempotent
- Capability
manage_org- API key scope
cap:manage_org(the key's owner must also hold the capability)- Plan feature
multi_branchmust be on the branch's plan, or the call answers 403.
Path parameters
| idrequired string (uuid) | — |
Request body
application/json
{
"branchIds": [
"00000000-0000-0000-0000-000000000000"
]
}| branchIds string (uuid)[] | The branches to publish to; empty = every branch of the organisation. |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/hq/central-menu/products/{id}/publish" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"branchIds": [
"00000000-0000-0000-0000-000000000000"
]
}' Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Request body (JSON)
Headers
Set credentials in the “Authorize” menu