Should I use inventoryItem or inventoryLevel endpoint to update the stock of my product?

Solved
Gabrielncosta
New Member
1 0 0

I found that both inventoryItem PUT/Update resource and invnetoryLevel POST resource can update a product, which one should I use and what are the benefits of each one?

0 Likes
Greg_Kujawa
Shopify Partner
1016 83 227

This is an accepted solution.

Since Shopify has implemented per-site location product stocking for awhile now, I would think that the POST method to the endpoint defining inventory level makes sense. The PUT method would assumedly be for modifying an item's attributes. But not for when it comes to on-hand availability across site locations.

https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#adjust-2020-10