dolibarr  13.0.2
INV123

Create stock movement object.You can use the following message to test this RES API: { "product_id": 1, "warehouse_id": 1, "qty": 1, "lot": "", "movementcode": "INV123", "movementlabel": "Inventory 123", "price": 0 } $price Can be set to update AWP (Average Weighted Price) when you make a stock increase $dlc Eat-by date. Will be used if lot does not exists yet and will be created. $dluo Sell-by date. Will be used if lot does not exists yet and will be created.

Parameters
int$product_idId product id { 1} { body} { true}
int$warehouse_idId warehouse { 1} { body} { true}
float$qtyQty to add (Use negative value for a stock decrease) { body} { true}
string$lotLot { body}
string$movementcodeMovement code {} { body}
string$movementlabelMovement label {