v9

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-071292691.1 MB
inventory-movements

List inventory movements

Returns a paginated history of inventory movements (SNAPSHOT and DELTA records) read from the Elasticsearch audit log, scoped to the caller account and ordered newest-first ("occurred_at" desc) by default. Filter by exact "sku", free-text "q" matching SKU or product name (case-insensitive substring), "strategyCode", "reason" and "updateType". Each item exposes the running balance ("balance_after") recorded when the movement occurred, which may be null for deltas still awaiting backfill.

get/api/v1/inventory-movements

Query parameters

skustring
qstring
strategyCodestring[]
reasonstring
updateTypestring
occurredFromstring
occurredTostring
pagenumber
limitnumber
sortBystring
sortOrderstring

Response

Paginated history of inventory movements.

Example response

{
  "meta": {
    "total": 42,
    "pages": 3,
    "current_page": 1,
    "next_page": 2,
    "limit": 20
  }
}