New error code added to inventory quantity mutations
API
Effective July 01, 2023
As of API version 2023-07
, a new error code item_not_stocked_at_location
will be added to the the inventorySetOnHandQuantities
, inventoryAdjustQuantities
, and inventoryMoveQuantities
mutations. This error code is returned when you attempt to change inventory quantities for an item that is not stocked at the specified location.
Learn more about managing inventory quantities on Shopify.dev.