Update oh hand quantity using API

Hi,

I want to update Inventory On_hand quantity using shopify API,

I am using below API with the screenshot but i am unable to update on hand quantity

Please suggest me what i can change to get

Hi Arnab1,

Just to confirm, when you run this API call are you seeing inventory updating but you want to specify that just on-hand inventory is updated? If so, you’ll likely need to use the inventory_levels endpoint rather than inventory_items. Our dev docs here provide an example of how to use the the inventory_levels endpoint to adjust the inventory level of an inventory item at a specific location.

Hope this helps!

Using Inventory Level i am able to update Inventory Avalable not its not update on hand .

Can you share me a example please?