Skip to content

Shopify inventoryActivate keeps existing quantities instead of resetting them to zero, as of 2026-04 ​

Provider
Shopify
Endpoint
POST /admin/api/{version}/graphql.json
Effective
2026-04-01
Severity
medium
Change
version-sunset
Status
unverified (secondary reports only; SHAPI does not open fix PRs for it)

What changed ​

As of Admin API version 2026-04, inventoryActivate without an available or onHand argument keeps an inventory level's earlier quantities instead of resetting them to zero.

What to do ​

Pass available or onHand explicitly to inventoryActivate if your app relied on activation resetting quantities to zero.

Sources ​

Check your code ​

bash
npx shapi-cli scan .

shapi scan lists the call sites this change affects; shapi fix repairs them test-first when the advisory has an automatic fix. All advisories · Markdown · OSV · JSON