/inventory/availability
List stock availability for many items
Returns stock availability for every stocked item, paginated, with the same per-warehouse breakdown as GET /preview/items/{itemNumber}/availability — including whether movements in that warehouse require serial or batch numbers.
Show the full description
Use this instead of calling the per-item endpoint in a loop: a catalogue of a few thousand SKUs otherwise consumes the entire rate limit budget on every sync cycle. Items with no stock record in any active warehouse are omitted. Pagination is over items, never over warehouse rows, so an item's totals are always complete.
Query parameters
| Field | Type | Description |
|---|---|---|
itemNumbers
|
string | Comma-separated item numbers to limit the result to. Max 200 values. |
warehouseCode
|
string | Restricts the breakdown to one warehouse, in which case the totals cover that warehouse only. |
modifiedSince
|
string(date-time) | Returns only items whose stock records were created or changed at or after this instant (ISO 8601 UTC datetime). This is what makes a recurring poll cheap. |
page
|
integer | Page to return, 1-based. Default 1. |
pageSize
|
integer | Number of records per page. Default 50, max 200. |
Responses
PagedResult_PublicItemAvailabilityResponse
Paginated response: the fields below sit in items[], wrapped in totalCount, page, pageSize, totalPages, hasPreviousPage and hasNextPage. Paginated
| Field | Type | Description |
|---|---|---|
itemNumber
|
string · nullable | Item number of the item. |
totalAllocatedQuantity
|
decimal | Total quantity reserved for orders across all warehouses. Serialised as a decimal string. |
totalAvailableQuantity
|
decimal | Total quantity available for new orders (on hand − allocated). Serialised as a decimal string. |
totalQuantityOnHand
|
decimal | Total physical quantity on hand across all warehouses. Serialised as a decimal string. |
warehouses
|
WarehouseAvailability[] · nullable | Per-warehouse breakdown. Empty list if the item is not stocked in any warehouse. |
ProblemDetails
itemNumbers held more than 200 values.
| Field | Type |
|---|---|
detail
|
string · nullable |
instance
|
string · nullable |
status
|
integer · nullable |
title
|
string · nullable |
type
|
string · nullable |
Standard errors:
401
403
Errors
Examples
curl "https://api.erp.fluit.cloud/preview/inventory/availability" \
-H "X-Api-Key: fluit_live_sk_..."
{
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"itemNumber": "WIDGET-A",
"totalAllocatedQuantity": "10",
"totalAvailableQuantity": "10",
"totalQuantityOnHand": "10",
"warehouses": [
{
"allocatedQuantity": "10",
"availableQuantity": "10",
"quantityOnHand": "10",
"replenishmentType": "Purchase",
"requiresBatch": true,
"requiresSerial": true,
"trackingType": "None",
"warehouseCode": "MAIN",
"warehouseName": "Main warehouse"
}
]
}
],
"page": 1,
"pageSize": 50,
"totalCount": 137,
"totalPages": 3
}
Base URL https://api.erp.fluit.cloud/preview. The response example is generated from the schema: the shape is right, the values are made up.