News |
shopify

Removal of ITEM_NOT_STOCKED_AT_LOCATION error

Source: Shopify Dev Changelog

Shopify Removes ITEM_NOT_STOCKED_AT_LOCATION Error Code from Inventory APIs

Shopify will remove the ITEM_NOT_STOCKED_AT_LOCATION error code from its inventory management APIs starting with API version 2026-10. The error code affects four mutations: InventoryAdjustQuantities, InventoryMoveQuantities, InventorySetOnHandQuantities, and InventorySetQuantitiesUserErrorCode.

What Changed

The platform now allows inventory quantity adjustments at any location, eliminating the condition that previously triggered this error. Since the error condition no longer exists, Shopify is removing the obsolete error code from the API response types.

Impact on App Developers

Developers who built error handling logic around ITEM_NOT_STOCKED_AT_LOCATION need to review their code before migrating to API version 2026-10. Applications that explicitly check for this error code in their inventory management workflows will need updates to remove these checks.

The change stems from earlier platform updates that expanded inventory location flexibility. Apps that handle inventory across multiple locations can now adjust quantities without first verifying if an item is stocked at a specific location.

What to Watch For

Developers should audit their inventory mutation error handling before upgrading to the 2026-10 API version. While removing obsolete error handling is straightforward, teams should test their inventory workflows to confirm the changes don’t affect other parts of their error management logic.

This cleanup reflects Shopify’s ongoing API refinement as platform capabilities evolve. Apps using older API versions remain unaffected until they upgrade.

Read the full announcement →

Stay in the loop

Get Shopify ecosystem news and positioning insights for app founders.