Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

InventoryItem Input Unification

API

Action required

Up to this point, you can send Inventory Item data in two places: through Product Variant mutations or on the InventoryItemUpdate mutation. Each of these places has a different input object type with very similar fields, with some keys showing up in one instead of the other.

As of Admin GraphQL API version 2024-07, these two input types are being unified. InventoryItemInput will now be the input object type on inventoryItemUpdate instead of InventoryItemUpdateInput. At the same time, countryHarmonizedSystemCodes is being added as a field on InventoryItemInput so that inventoryItemUpdate can continue setting them.