Aggregate remaining quantity across blanket orders scoped to the current tenant and site.
Sums items[].remainingQuantity and returns breakdowns by product code, customer, and status.
Use the filter parameter to scope the aggregation (e.g. items.product.productCode in [SKU1,SKU2],
customerAccountId eq 1234, items.status ne Cancelled).
Authorizations
JWT Authorization header using the Bearer scheme.
Query Parameters
limits which fields are returned in the response body
Response
OK
Result of aggregating blanket order remaining quantity. Includes the grand total, per-product-code sums, and optional breakdowns by customer account and order status.
Remaining quantity broken down by customer account. Each entry's Key is the
customer account id as a string, or "anonymous" for orders without an account.
Remaining quantity broken down by product code. Each entry's Key is a product code.
Only product codes with at least one matching item appear here (no zero-quantity back-fill).
Remaining quantity broken down by blanket order status. Each entry's Key is the
order-level status string (e.g. "Active", "Completed").
Sum of items[].remainingQuantity across all matched blanket orders.

