Start a count at one location
POST
/ admin/ v1/ stores/ {store_id}/ inventory/ counts- Idempotency-Key supported
Start a count at one location: of everything there (every counted variant gets a line, up to 10,000) or of items added while counting. One count is open at a location at a time.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
location_idstringrequiredAn active location; one count is open there at a time.
scopeenumrequiredall: every counted variant (up to 10,000);some: items added while counting.- all
- some
namestring · or nullUp to 100 characters, such as "Year end 2026".
Returns
201 The count.
Errors
- 403
forbiddenMissing permission, or a location you don't work at. - 409A count is open there already, or there are more than 10,000 items.
- 422
validation_failedAn unknown or inactive location, or a bad name.