Add `includeInactive` argument to `inventoryLevels` and `inventoryLevel` fields
Shopify developer change
MerchantDiff detected this entry in Shopify's official developer changelog on April 17, 2026.
This Shopify update is categorized as API, New, Admin GraphQL API, 2026-04.
What changed
As of API version 2026-04, you can pass includeInactive: true when querying the inventoryLevels or inventoryLevel fields on InventoryItem and Location to include inactive inventory levels in the response. By default, only active inventory levels are returned. Why we made this change Previously, there was no way to retrieve inactive inventory levels through the API. The includeInactive argument gives apps explicit control over whether inactive levels are included in results. Impact on your app GraphQL: In the 2026-04 and later API versions, the fields InventoryItem.inventoryLevels, InventoryItem.inventoryLevel, Location.inventoryLevels, and Location.inventoryLevel accept a new optional includeInactive boolean argument.
Who is affected
Apps using the affected Shopify GraphQL API surface should review this change.
What action may be needed
No changes are required for existing queries, as they will continue to return only active inventory levels. To access inactive inventory levels, include includeInactive: true in your queries.
Use the official Shopify entry below as the source of truth for technical implementation details, affected APIs, migration instructions and deadlines.
Want the actionable version?
MerchantDiff monitors Shopify API changes, deprecations, deadlines and ecosystem updates, then turns them into developer-focused release intelligence: what changed, who is affected and what action may be needed.
Get MerchantDiff →