API Reference
Delivery Policies
3 endpoints· Auth: JWT or API Key
get
/api/v1/console/delivery/policies JWT API KeyEvery delivery channel's live policy
Takes `?sort=&dir=` (`DeliveryPolicySort`).
- Capability
manage_delivery_policy- API key scope
cap:manage_delivery_policy(the key's owner must also hold the capability)- Plan feature
deliverymust be on the branch's plan, or the call answers 403.
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
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/delivery/policies" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
Set credentials in the “Authorize” menu
put
/api/v1/console/delivery/policies JWT API KeyCreate or replace the channel's single policy row.,,
An upsert rather than a create: two live rows would make "which policy applied" a question with two answers, and the answer decides a figure that lands in the owner's loss number.
- Capability
manage_delivery_policy- API key scope
cap:manage_delivery_policy(the key's owner must also hold the capability)- Plan feature
deliverymust be on the branch's plan, or the call answers 403.
Request body
application/json
{
"channelId": "00000000-0000-0000-0000-000000000000",
"discountContributionPct": 0,
"maxContributionAmount": 0,
"returnRequired": false,
"compensationPct": 0,
"startDate": "2026-11-27",
"endDate": "2026-11-27",
"active": false
}| channelId string (uuid) | — |
| discountContributionPct number (double) | 0–100. How much of each order's promo discount the app repays. |
| maxContributionAmount integer (int64) | Per-order cap in minor units, ≥ 0. <b>Zero means uncapped</b>, deliberately unlike `Promotion.maxDiscountCap` where zero disables the campaign (BR-027). |
| returnRequired boolean | Must the goods physically come back before compensation is owed? |
| compensationPct number (double) | 0–100. Percentage of order value the app pays for an order it never delivered. |
| startDate string (date) | — |
| endDate string (date) | — |
| active boolean | — |
Responses
200Success
cURL
curl -X PUT "https://staging-api.panoptesos.com/api/v1/console/delivery/policies" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"channelId": "00000000-0000-0000-0000-000000000000",
"discountContributionPct": 0,
"maxContributionAmount": 0,
"returnRequired": false,
"compensationPct": 0,
"startDate": "2026-11-27",
"endDate": "2026-11-27",
"active": false
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
get
/api/v1/console/delivery/policies/{channelId} JWT API KeyOne channel's policy
A channel in another branch reads as `NOT_FOUND`.
- Capability
manage_delivery_policy- API key scope
cap:manage_delivery_policy(the key's owner must also hold the capability)- Plan feature
deliverymust be on the branch's plan, or the call answers 403.
Path parameters
| channelIdrequired string (uuid) | — |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/delivery/policies/{channelId}" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Headers
Set credentials in the “Authorize” menu