As of API version
2023-07, a new error code
item_not_stocked_at_location will be added to the the
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.