---
title: >-
  New error code added to inventory quantity mutations - Shopify developer
  changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/new-error-code-added-to-inventory-quantity-mutations
  md: >-
    https://shopify.dev/changelog/new-error-code-added-to-inventory-quantity-mutations.md
metadata:
  effectiveApiVersion: 2023-07
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2023-03-30T16:28:30-04:00'
  postedAt: '2023-07-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:37-05:00'
  effectiveAt: '2023-07-01T00:00:00-04:00'
---

July 1, 2023

Tags:

* API
* 2023-07

# New error code added to inventory quantity mutations

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](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#step-3-manage-inventory-quantities).
