Get Stock Levels
Get current stock levels from a specific warehouse using externalWarehouseID.
Path parameters
-
External Warehouse ID
GET /v1/warehouses/{externalWarehouseID}/stock
curl \
-X GET https://ma-api.maddenanalytics.com/v1/warehouses/{externalWarehouseID}/stock \
-H "Authorization: $API_KEY"
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
}