Update oh hand quantity using API

Shopify Partner
24 0 2



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 




Replies 2 (2)

Shopify Staff
2731 302 779

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!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Shopify Partner
24 0 2

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

Can you share me a example please?