GET v1/Warehouse/{warehouseId}/GetExpectedBackInStock
Get a list with all products currently not available in the warehouse, and try to determine the expected back in stock date based on Purchase Orders. Also current backorders will be taken into account (will be allocated first). If there are no PurchaseOrders for the product, the product will not be returned.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| warehouseId |
The Warehouese Id |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
A list of Products without stock and the expected in stock date.
Collection of ProductBackInStockInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductCode |
Gets or sets the product code. |
string |
None. |
| ProductId |
Gets or sets the product identifier. |
integer |
None. |
| ExpectedDateBackInStock |
The Expected date back in stock, when null it is not possible to determine. |
date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProductCode": "sample string 1",
"ProductId": 2,
"ExpectedDateBackInStock": "2026-01-11T16:17:33.4961386+01:00"
},
{
"ProductCode": "sample string 1",
"ProductId": 2,
"ExpectedDateBackInStock": "2026-01-11T16:17:33.4961386+01:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductBackInStockInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ProductBackInStockInfo>
<ProductCode>sample string 1</ProductCode>
<ProductId>2</ProductId>
<ExpectedDateBackInStock>2026-01-11T16:17:33.4961386+01:00</ExpectedDateBackInStock>
</ProductBackInStockInfo>
<ProductBackInStockInfo>
<ProductCode>sample string 1</ProductCode>
<ProductId>2</ProductId>
<ExpectedDateBackInStock>2026-01-11T16:17:33.4961386+01:00</ExpectedDateBackInStock>
</ProductBackInStockInfo>
</ArrayOfProductBackInStockInfo>