POST | /InventoryLocationStock/ProductStockUpdate | Updates Product Stock for given locations and products. | Update stock levels for the specified products in the specified locations.
"ProductID" or "ProductSKU" : Specify the product for which the stock should be adjusted.
"InventoryLocationID" : Specify the location in which the adjustment will take place (If only one location exists, you can leave this empty).
"ProductQuantity" : Specify the actual physical quantity currently in stock.
"ProductUnitCost" : Specify the unit cost to be used in the adjustment (leave empty to use the default unit cost of the specified product)
"AdjustmentPlusDocumentTypeID" : The ID of the document type to be used in case of an Adjustment Plus (leave empty to use default).
"AdjustmentMinusDocumentTypeID" : The ID of the document type to be used in case of an Adjustment Minus (leave empty to use default).
A. Adjust stock for product "Product_1" to 800 in Location 1, and "Product_2" to 500 in Location 2, using the default document types and unit costs.
Value: {
"mvProductStockUpdateList": [
{
"ProductSKU" : "Product_1",
"ProductQuantity": 800,
"InventoryLocationID": 1
},
{
"ProductSKU" : "Product_2",
"ProductQuantity": 500,
"InventoryLocationID": 2
}
]
}
|
---|