Tags:
- Action Required
- API
- 2023-04
Deprecating available, incoming and deactivationAlertHtml fields on InventoryLevel
In the GraphQL Admin API, we're deprecating some fields on the .
The following fields are deprecated:
- instead of
available, usequantities(names:["available"]){ name quantity }instead. - instead of
incoming, usequantities(names:["incoming"]){ name quantity }instead. - instead of
, useinstead.
The quantities field supports all the new inventory quantity names. You can still get available and incoming from quantities by specifying those as the names.
Learn more about on Shopify.dev as well as inventory states on Shopify.dev.
Was this section helpful?