diff --git a/htdocs/product/stock/class/api_stockmovements.class.php b/htdocs/product/stock/class/api_stockmovements.class.php index 36351c53374..369d24b9536 100644 --- a/htdocs/product/stock/class/api_stockmovements.class.php +++ b/htdocs/product/stock/class/api_stockmovements.class.php @@ -170,7 +170,7 @@ class StockMovements extends DolibarrApi * @param string $dlc Eat-by date. {@from body} {@type date} * @param string $dluo Sell-by date. {@from body} {@type date} * @param string $origin_type Origin type (Element of source object, like 'project', 'inventory', ...) - * @param string $origin_id Origin id (Id of source object) + * @param int $origin_id Origin id (Id of source object) * * @return int ID of stock movement * @throws RestException