Tags:
- Admin GraphQL API
InventoryItem Queryable and Updatable with Products Scopes
The scopes for the InventoryItemInput input object and the InventoryItem object have been relaxed. These objects can now be updated and queried using the and scopes, respectively.
Specifically, the following changes have been made:
- The
can now be set withinproduct*mutations using only thescope. - The
can be queried with either theorscope.
However, the following restrictions still apply:
- The
cannot be queried from theobject without thescope. - The
locationcannot be queried without thescope.
These changes are applicable across all API versions.
Was this section helpful?