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

Deprecating available, incoming and deactivationAlertHtml fields on InventoryLevel

API

Action required

In the GraphQL Admin API, we're deprecating some fields on the InventoryLevel.

The following fields are deprecated:

  • instead of available, use quantities(names:["available"]){ name quantity } instead.
  • instead of incoming, use quantities(names:["incoming"]){ name quantity } instead.
  • instead of deactivationAlertHtml, use deactivationAlert instead.

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 inventoryLevel on Shopify.dev as well as inventory states on Shopify.dev.