Lists OnHand data based on basket items. Only deliverable items will be regarded. The result is a list of ProductOnHand where each product has a list of warehoues matching the warehouse specification passed in. ProductOnHand.Variants will always be null when getting this data for a basket. OnHand for each warehouse will always be returned whether or not the warehouse has the item or not. OnHand.IsActive = false indicates the item does not exist at the warehouse so only active OnHands should be used when checking availability.
An Warehouse if OnHand for a specific store is wanted. If standard warehouse (web) is wanted just pass null.
Success
Internal Server Error
{- "StoreId": 0,
- "WarehouseId": 0,
- "LocationId": 0,
- "OnHand": {
- "Value": 0,
- "IncomingValue": 0,
- "NextDeliveryDate": "2019-08-24T14:15:22Z",
- "LeadtimeDayCount": 0,
- "LastChecked": "2019-08-24T14:15:22Z",
- "IsActive": true,
- "IsReturnable": true,
- "Info": [
- {
- "Id": 0,
- "Value": "string",
- "Code": "string"
}
]
}
}
[- {
- "ProductId": 0,
- "Warehouses": [
- {
- "StoreId": 0,
- "WarehouseId": 0,
- "LocationId": 0,
- "OnHand": {
- "Value": 0,
- "IncomingValue": 0,
- "NextDeliveryDate": "2019-08-24T14:15:22Z",
- "LeadtimeDayCount": 0,
- "LastChecked": "2019-08-24T14:15:22Z",
- "IsActive": true,
- "IsReturnable": true,
- "Info": [
- {
- "Id": 0,
- "Value": "string",
- "Code": "string"
}
]
}
}
], - "Variants": [
- { }
]
}
]