Skip to content

Shopify's REST inventory_levels/connect keeps existing quantities instead of resetting them, as of 2026-04 ​

Provider
Shopify
Endpoint
POST /admin/api/{version}/inventory_levels/connect.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, POST inventory_levels/connect.json keeps an inventory level's earlier quantities instead of resetting them to zero.

What to do ​

Set the available quantity explicitly after connecting a location if your app relied on it starting at 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