Regarding update variant inventory quantity

New Member
1 0 0

I am trying to update the inventory quantity of shopify product variant using shopify API using the Product update API 
PUT /admin/api/2019-10/products/#{product_id}.json

  "variant": {

which have deprecated parameter's So after this I have tried inventory API.

But it doesnot seems to work and I have tried to use the another Api end point Inventory level. 

POST https://{shop} and my request body data which I have passed in the json body in postman.


Even this API doesn't work. I'm able to read inventory but apparently cant update it.  Any help would be appreciated thanks.

Shopify Staff
Shopify Staff
83 16 16

Hey @Santosh9 ,

I notice you are calling 2019-10, which is a deprecated API version. Can you update to a more recent, supported version and let us know your results?

Graham S | API Support @ 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 or the Shopify Web Design and Development Blog