Tags:
- Admin GraphQL API
- Admin REST API
- 2026-04
inventoryActivate now preserves available quantity
inventoryActivate now preserves available quantityAs of API version 2026-04, activating an inventory item with without providing an available or argument will no longer default to zero in all cases. For an item that was previously active at that location, any existing active and quantities for the inactive are preserved.
Why we made this change
currently sets any existing inventory quantities to zero preventing merchants from tracking inventory independently of activation status. The current behaviour prevents merchants from tracking physical inventory since quantity history disappears upon activation. This change will allow merchants to track inventory and handle activation seprately keeping their quantity history intact.
Impact on your app
- GraphQL: In the
unstableor2026-04and later releases, if you use themutation without providing anavailableorargument, whichever quantity existed prior to activation will be persisted. - REST: In the
unstableor2026-04and later releases,requests towill maintain whichever quantity existed prior to activation.
What you need to do
- Review any business logic that assumes
resets inventory quantities to zero for the specified inventory item and location.
Was this section helpful?