API Reference
Supplier Scorecard
On-time, price and quality scores per supplier.
2 endpoints· Auth: JWT or API Key
get
/api/v1/console/suppliers/scorecard JWT API KeyGet scorecard
- Capability
view_profit- API key scope
cap:view_profit(the key's owner must also hold the capability)
Query parameters
| From string (date) | — |
| To string (date) | — |
| Format string | Export only: `csv`, `pdf` or `xlsx` (the default). |
| Lang string | — |
| Digits string | — |
| 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/suppliers/scorecard" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
Set credentials in the “Authorize” menu
get
/api/v1/console/suppliers/scorecard/export JWT API KeyThe scorecard as a file — `?format=csv`, else XLSX
- Capability
view_profit- API key scope
cap:view_profit(the key's owner must also hold the capability)
Query parameters
| From string (date) | — |
| To string (date) | — |
| Format string | Export only: `csv`, `pdf` or `xlsx` (the default). |
| Lang string | — |
| Digits string | — |
| 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/suppliers/scorecard/export" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Query parameters
Headers
Set credentials in the “Authorize” menu