Stock history
GET
/ admin/ v1/ stores/ {store_id}/ inventory/ variants/ {variant_id}/ history- inventory:read
A variant's stock history, newest first.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.variant_idstringrequiredThe variant's ID, like
var_01k8qs5s….
Query parameters
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 A page of stock movements.
Errors
- 400
bad_requestMalformed cursor. - 403
forbiddenMissing permission. - 404
not_foundNo such variant in this store.