List Our Inventory for Supplier
GET/api/supplier-inventories/1/our-inventory
Returns a paginated list of OUR internal warehouse inventory rows for products supplied by the given supplier.
Returns one row per (product, our_warehouse). Excludes the per-product totals row (warehouse_id = 0) and supplier-type warehouses.
Authentication: Requires Bearer token.
Filters (Spatie QueryBuilder):
- filter[warehouse_id]: Exact match on warehouse ID
- filter[product_id]: Exact match on product ID
- filter[sku]: Partial match on product SKU
- filter[search]: Partial match on product SKU or name
- filter[stock_status]: Computed status filter (in_stock, low_stock, out_of_stock, incoming, allocated)
Sort fields: inventory_total, inventory_available, inventory_allocated, inventory_on_hold, inventory_in_transit, inventory_stock_value, updated_at, sku, product_name, warehouse_name (default: -inventory_total)
Pagination: page + per_page (default 10)
Request
Responses
- 200
Successful response