dolibarr  16.0.1
Inventory

number 123} { body}

Parameters
string$priceTo update AWP (Average Weighted Price) when you make a stock increase (qty must be higher then 0). { body}
string$datemDate of movement { body} { date}
string$dlcEat-by date. { body} { date}
string$dluoSell-by date. { body} { date}
string$origin_typeOrigin type (Element of source object, like 'project', 'inventory', ...)
string$origin_idOrigin id (Id of source object)
Returns
int ID of stock movement
Exceptions
RestException