API Reference
Stock Reposts
Re-run stock postings after a correction.
4 endpoints· Auth: JWT or API Key
get
/api/v1/console/inventory/reposts JWT API KeyGet reposts
- Capability
manage_inventory- API key scope
cap:manage_inventory(the key's owner must also hold the capability)
Query parameters
| InventoryItemId string (uuid) | — |
| 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/inventory/reposts" \
-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/inventory/reposts JWT API KeyRequest and run a repost
Rewrites stock value and posts a GL correction.
- Capability
manage_inventory- API key scope
cap:manage_inventory(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.
Request body
application/json
{
"inventoryItemId": "00000000-0000-0000-0000-000000000000",
"fromDate": "2026-11-27"
}| inventoryItemId string (uuid) | — |
| fromDate string (date) | The first business day whose draws may be re-priced. Must be open (FR-INV-074). |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/inventory/reposts" \
-H "Content-Type: application/json" \
-H "X-Api-Key: <YOUR_API_KEY>" \
-d '{
"inventoryItemId": "00000000-0000-0000-0000-000000000000",
"fromDate": "2026-11-27"
}' Try itagainst staging · https://staging-api.panoptesos.com
Request body (JSON)
Headers
Set credentials in the “Authorize” menu
get
/api/v1/console/inventory/reposts/{id} JWT API KeyGet id
- Capability
manage_inventory- API key scope
cap:manage_inventory(the key's owner must also hold the capability)
Path parameters
| idrequired string (uuid) | — |
Responses
200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/inventory/reposts/{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/inventory/reposts/{id}/run JWT API KeyRe-run a pending or crashed job
- Capability
manage_inventory- API key scope
cap:manage_inventory(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) | — |
Responses
200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/inventory/reposts/{id}/run" \
-H "X-Api-Key: <YOUR_API_KEY>" Try itagainst staging · https://staging-api.panoptesos.com
Path parameters
Headers
Set credentials in the “Authorize” menu