Get Stock Levels
Get current stock levels from a specific warehouse using externalWarehouseID.
Path parameters
-
External Warehouse ID
GET
/warehouses/{externalWarehouseID}/stock
curl \
-X GET https://api.maddenanalytics.com/v2/api/warehouses/{externalWarehouseID}/stock
Response examples (200)
[
{
"availableQuantity": 21,
"date": "2021-07-19T14:05:22.257Z",
"ean": "7340192703345",
"externalWarehouseID": "warehouse1",
"key": "7340192703345",
"physicalQuantity": 30,
"sku": "123456-001-43",
"supplier": "Acme Enterprises AB"
}
]
Response examples (default)
{
"error": "Error Type (if any)",
"message": "Message describing the error",
"statusCode": 400
}