Tags:
- Admin GraphQL API
- Admin REST API
- 2026-04
inventoryActivate now preserves available quantity
inventoryActivate now preserves available quantityAs of API version 2026-04, using the mutation without specifying an available or argument will no longer default these values to zero. If an item was previously active at a location, any existing active and quantities for the inactive will be retained.
Why We Made This Change
Previously, would reset existing inventory quantities to zero, preventing merchants from independently tracking inventory from activation status. This behavior erased quantity history upon activation. The update allows merchants to manage inventory and activation separately, preserving their quantity history.
Impact on Your App
- GraphQL: In the
unstableor2026-04and later releases, using themutation without anavailableorargument will preserve the pre-activation quantities. - REST: In the
unstableor2026-04and later releases,requests towill retain the pre-activation quantities.
What You Need to Do
- Review any business logic that assumes
resets inventory quantities to zero for specified inventory items and locations.
Was this section helpful?