InventoryItem Input Unification
API
Effective April 15, 2024
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 the following fields were added on InventoryItemInput
:
sku
countryHarmonizedSystemCodes
countryCodeOfOrigin
provinceCodeOfOrigin