dolibarr  17.0.4
Inventory

number 123} {@from body}

Parameters
string$priceTo update AWP (Average Weighted Price) when you make a stock increase (qty must be higher then 0). {@from body}
string$datemDate of movement {@from body} {@type date}
string$dlcEat-by date. {@from body} {@type date}
string$dluoSell-by date. {@from body} {@type 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