As 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
}
}
}
query RetrieveWithInventoryProducts {
withInventory: products(first: 10, query: "published_status:published AND tracks_inventory:true") {
edges {
node {
id
title
status
totalInventory
tracksInventory
}
}
}Was this page helpful?