Inserts or updates information about stock on existing inventory locations. | Insert or update stock alert levels for products
specified locations. Select the product you want to set the alert level for by providing either the "productId" or the
"productSku". You can specify the location to which the alert level should be applied with the "InventoryLocationID" and
optional "SubLocation" name.
Use mvInsertUpdateDeleteSourceApplication when an external application (e.g. Magento) triggers the InventoryLocationStockUpdate call.
A. Insert a new stock alert level for product 27412 and location 4.
Value: {
"mvProductStockAlertsAndSublocationsList": [
{
"productId": 27412,
"mvInventoryLocationStockAlertAndSublocations": [
{
"InventoryLocationID": 4,
"StockAlertLevel": 10
}
]
}
]
}
Response: {
"mvProductStockAlertsAndSublocationsList": [
{
"productID": 27412,
"productSKU": "prod111",
"mvInventoryLocationStockAlertAndSublocations": [
{
"InventoryLocationID": 4,
"StockAlertLevel": 10,
"SubLocation": ""
}
]
}
],
"ResponseStatus": {
"ErrorCode": "0"
}
}
|