Get Inventory Movement Tallies
GET/api/inventory-movements/tallies
Get running inventory tallies for a single product in a single warehouse. Returns a map keyed by inventory movement ID where each value is the cumulative on-hand quantity (running balance) after that movement was applied, computed in movement-date order (oldest first).
inventory:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
All three query parameters are required:
product_id— the product to tally. Returns 404 if the product does not exist.warehouse_id— the warehouse to tally within.inventory_status— which stock ledger to tally:active(on-hand stock) orin_transit(stock moving between warehouses).
Use this to reconstruct the balance history of a product at a warehouse, movement by movement.
Authentication: Requires Bearer token.
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.