Stock totals
/ admin/ v1/ stores/ {store_id}/ inventory/ totals- inventory:read
Add up every variant matching the list's filters: how many, and the committed, available and on-hand units of those that track stock, at the location or in total. The page is ignored.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Query parameters
qstringSearch product title, variant title or SKU.
location_idstringCount stock at this location only.
low_stockintegerOnly tracked variants low on stock: available at or below their own threshold, or this number for variants without one.
sold_outbooleanOnly tracked variants with nothing available.
incomingbooleanOnly variants with units on their way in a shipped transfer or an ordered purchase order, to
location_idwhen given.limitinteger1–250, default 50.
cursorstringpage.next_cursorfrom the previous page.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
200 What the matching variants add up to.
Errors
- 400
bad_requestMalformed query. - 403
forbiddenMissing permission.