Master data and stock
Stock
Read the current stock levels.
POST /api/stock/list-stock returns the current stock levels across one or more systems.
POST https://rologi-flow.example.com/api/stock/list-stock
Authorization: Bearer <token>
Content-Type: application/json
{
"systems": ["AS1", "AS2"],
"skus": ["digital-camera"]
}Filters
| Field | Meaning |
|---|---|
systems | Optional set of systems. If you do not send it, the answer has the stock of all systems. |
skus | Optional set of SKUs. If you do not send it, the answer has all SKUs. |
An empty set returns no stock. The answer is 400 when the request refers to an unknown system.
The answer
The answer has the timestamp of the stock snapshot and a list of stock levels.
Response: listStock
{
"timestamp": "2025-11-01T10:30:00Z",
"stock": [
{
"id": "01226N0640J7R",
"site": "1000",
"system": "AS1",
"sku": "digital-camera",
"lotNumber": "XYZ24041508A",
"expiryDate": "2025-12-31",
"physicalQuantity": { "amount": 10, "unit": "PIECE" },
"allocatedQuantity": { "amount": 3, "unit": "PIECE" },
"blockedQuantity": { "amount": 0, "unit": "PIECE" },
"availableQuantity": { "amount": 7, "unit": "PIECE" },
"location": "AS1-01-001",
"container": "1234567890123"
}
]
}| Field | Meaning |
|---|---|
id | Identifier of the stock level. It stays the same while the stock remains in its container. |
physicalQuantity | The quantity that is physically present. It is the sum of the allocated, blocked and available quantities. |
allocatedQuantity | The quantity that is allocated for picking. |
blockedQuantity | The quantity that is blocked from allocation for picking, for example because of a quality problem or a recall. |
availableQuantity | The quantity that is available for allocation for picking. |
lotNumber, batchNumber, expiryDate | Optional lot, batch and expiry date. |
location, container | Optional location and identifier of the storage container that holds the item. |
See list stock.