Get Our Inventory Stats for Supplier
GET/api/supplier-inventories/1/our-inventory/stats
Returns aggregate stats for OUR internal warehouse inventory of products supplied by the given supplier.
Honors the same filters as the index endpoint so stats reflect the active filter set.
Authentication: Requires Bearer token.
Response fields:
- total_skus: Distinct product count
- warehouses_count: Distinct internal warehouse count
- total_available: Sum of available units across all rows
- total_allocated: Sum of allocated units
- total_on_hold: Sum of on-hold units
- total_in_transit: Sum of in-transit units
- total_units: Sum of total units (available + allocated + on_hold + in_transit)
- total_stock_value: Sum of stock value (in account currency)
Request
Responses
- 200
Successful response