Inventory
Stock movement ledger
The append-only record. Nothing here is editable through any API.
Authorization
HTTPBearer AuthorizationBearer <token>
JWT access token
In: header
Query Parameters
page?integer
Range
1 <= valueDefault
1page_size?integer
Range
1 <= value <= 200Default
50inventory_item_id?|
Format
uuidmovement_type?string|null
correlation_id?string|null
merchant_id?|
Optional merchant to act on. Must be one you are a member of.
Format
uuidHeader Parameters
X-Merchant-ID?string|null
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/inventory/ledger"{ "data": { "items": [ {} ], "pagination": { "has_next": false, "has_previous": false, "page": 1, "page_size": 25, "total": 0, "total_pages": 0 } }, "meta": {}, "success": true}Force a replenishment run POST
Manual override: run the same engine the automation runs, on demand.
One automation chain GET
Every record sharing one correlation id, in order. This is what makes an automated decision inspectable: the event that started it, the workflow that ran, and the ledger rows it produced, all in one place.