Update inventory from external source

Hello,
We are struggling with inventory updates,
we have tried:
POST /API/Account/{accountID}/InventoryCountItem.json PUT /API/Account/{accountID}/InventoryCountItem/{inventoryCountItemID}.json
the update is not taken into account
The only working solution is to reload the item:
POST /API/Account/{accountID}/Item.json PUT /API/Account/{accountID}/Item/{itemID}.json
what is the best solution for updating in real time the stock in lightspeed?
Thanks
Post edited by Adrian Samuel on
3 comments
The InventoryCount API endpoint is for product counts (i.e. - scanning inventory to determine any missing items), not for updating on-hand quantities for specific site locations. I think you are confusing the two perhaps?
Hello, so far we are doing like this: InventoryCountItem + InventoryCountReconcile,
Please share a better way to update stocks.
Finally we have seen how to do that
we have followed the example
https://developers.lightspeedhq.com/retail/tutorials/inventory/#adjusting-itemshops-directly