API ReferenceStock inventory
Get stock projection for a product
Returns demand-based stock projections with incoming POs and reorder recommendations
AuthorizationBearer <token>
In: header
Path Parameters
productId*string
Query Parameters
siteId?string
lookbackDays?integer
Default
90Format
int32projectionDays?integer
Default
90Format
int32Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:18080/api/v1/inventory/projections/string"{
"avgDailyConsumption": 0.1,
"currentStock": 0.1,
"daysUntilStockout": 0,
"incomingStock": [
{
"expectedDeliveryDate": "2019-08-24T14:15:22Z",
"purchaseOrderId": "string",
"purchaseOrderNumber": "string",
"quantity": 0.1,
"supplierName": "string"
}
],
"leadTimeDays": 0,
"productId": "string",
"projections": [
{
"date": "2019-08-24T14:15:22Z",
"incomingQuantity": 0.1,
"projectedQuantity": 0.1
}
],
"reorderPoint": 0.1,
"safetyStock": 0.1,
"siteId": "string",
"suggestedReorderDate": "2019-08-24T14:15:22Z",
"suggestedReorderQty": 0.1
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}