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.
Query parameters
Response
Paginated history of inventory movements.
Example response
{
"meta": {
"total": 42,
"pages": 3,
"current_page": 1,
"next_page": 2,
"limit": 20
}
}Changes
Changed in 2 of the 9 revisions of this API.91121
- ○
added the new optional
queryrequest parameterlimitnew-optional-request-parameter
- ○
added the new optional
queryrequest parameteroccurredFromnew-optional-request-parameter
- ○
added the new optional
queryrequest parameteroccurredTonew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpagenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterqnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterreasonnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterskunew-optional-request-parameter
- ○
added the new optional
queryrequest parametersortBynew-optional-request-parameter
- ○
added the new optional
queryrequest parametersortOrdernew-optional-request-parameter
- ○
added the new optional
queryrequest parameterstrategyCodenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterupdateTypenew-optional-request-parameter
- ○
removed the
DELTAenum value from thedata/items/update_typeresponse property for the response status200response-property-enum-value-removed
- ○
added the required property
data/items/balance_after/allOf[InventoryMovementBalanceAfterResponse]/blockedto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/balance_after/allOf[InventoryMovementBalanceAfterResponse]/on_handto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/balance_after/allOf[InventoryMovementBalanceAfterResponse]/reservedto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/event_idto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/idto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/occurred_atto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/quantityto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/skuto the response with the200statusresponse-required-property-added
- ○
added the required property
data/items/strategy_codeto the response with the200statusresponse-required-property-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
removed the required property
data/items/balance_after/allOf[InventoryMovementBalanceAfterResponse]/blockedfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/items/balance_after/allOf[InventoryMovementBalanceAfterResponse]/on_handfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/items/balance_after/allOf[InventoryMovementBalanceAfterResponse]/reservedfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/items/event_idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/items/idfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/items/occurred_atfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/items/quantityfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/items/skufrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/items/strategy_codefrom the response with the200statusresponse-required-property-removed
- ●
deleted the
queryrequest parameterlimitrequest-parameter-removed
- ●
deleted the
queryrequest parameteroccurredFromrequest-parameter-removed
- ●
deleted the
queryrequest parameteroccurredTorequest-parameter-removed
- ●
deleted the
queryrequest parameterpagerequest-parameter-removed
- ●
deleted the
queryrequest parameterqrequest-parameter-removed
- ●
deleted the
queryrequest parameterreasonrequest-parameter-removed
- ●
deleted the
queryrequest parameterskurequest-parameter-removed
- ●
deleted the
queryrequest parametersortByrequest-parameter-removed
- ●
deleted the
queryrequest parametersortOrderrequest-parameter-removed
- ●
deleted the
queryrequest parameterstrategyCoderequest-parameter-removed
- ●
deleted the
queryrequest parameterupdateTyperequest-parameter-removed
This revision also has 36 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲