There are 2 different endpoints about stock history:
- Stock history (this page): only contains changes of the stock levels of a product. This gives you every product coming in or going out of your warehouse. Mentioned stock levels are on a product-warehouse basis.
- Location stock history: gives stock changes on a per location basis. Which means that it also tracks stock movements inside the same warehouse. Mentioned stock levels are on a product-location basis.
You can filter the history with the following parameters. Add these filters as querystring parameters to the URL.
|sincedate||Get the history that is added after this date and time.||2016-01-01 12:00:00|
|idproduct||Get the history for this product.||1106133|
|idwarehouse||Get the history in this warehouse.||13|
|iduser||Get the history made by this user.||424|
Of course it is not possible to change history. Therefor you cannot POST, PUT or DELETE history items.
But you can change the stock. See the products endpoint for information about changing current stock levels.