|
dolibarr
13.0.2
|
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.
| int | $product_id | Id product id { 1} { body} { true} |
| int | $warehouse_id | Id warehouse { 1} { body} { true} |
| float | $qty | Qty to add (Use negative value for a stock decrease) { body} { true} |
| string | $lot | Lot { body} |
| string | $movementcode | Movement code {} { body} |
| string | $movementlabel | Movement label { |