---
title: >-
  Deprecating available, incoming and deactivationAlertHtml fields on
  InventoryLevel - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/deprecating-available-incoming-and-deactivationalerthtml-fields-on-inventorylevel
  md: >-
    https://shopify.dev/changelog/deprecating-available-incoming-and-deactivationalerthtml-fields-on-inventorylevel.md
metadata:
  effectiveApiVersion: 2023-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Deprecation Announcement
    handle: deprecation
  indicatesActionRequired: true
  createdAt: '2023-04-13T17:12:44-04:00'
  postedAt: '2023-04-17T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:37-05:00'
  effectiveAt: '2023-04-17T00:00:00-04:00'
---

April 17, 2023

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 `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](https://shopify.dev/docs/api/admin-graphql/2023-04/objects/InventoryLevel) as well as inventory states on [Shopify.dev](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states).
