Tags:
- Admin GraphQL API
- 2026-04
Introducing the tracks_inventory query filter for products
tracks_inventory query filter for productsAs of GraphQL Admin API version 2026-04, you can filter products based on whether their inventory is tracked using the new Boolean filter.
This is especially useful when working with merchants like dropshippers who might not maintain on-hand inventory.
Example usage
query RetrieveWithInventoryProducts {
withInventory: products(first: 10, query: "published_status:published AND tracks_inventory:true") {
edges {
node {
id
title
status
totalInventory
tracksInventory
}
}
}
Was this section helpful?