List Supplier Inventories
GET/api/supplier-inventories
Returns a paginated list of supplier inventory records using Spatie QueryBuilder.
Authentication: Requires Bearer token.
Filters (Spatie QueryBuilder):
- filter[id]: Exact match on ID
- filter[supplier_id]: Exact match on supplier ID
- 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]: Advanced search on product SKU
Sort fields: id, quantity, eta, in_stock, discontinued, created_at, updated_at (default: -updated_at)
Pagination: page + per_page (default 10)
Request
Responses
- 200
- 401
- 403
- 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.
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.