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 within
product*
mutations using only thescope.
- The
can be queried with either the
or
scope.
However, the following restrictions still apply:
- The
cannot be queried from the
object without the
scope.
- The
location
cannot be queried without thescope.
These changes are applicable across all API versions.
Was this section helpful?