Skip to main content

Introducing the tracks_inventory query filter for products

As of GraphQL Admin API version 2026-04, you can filter products based on whether their inventory is tracked using the new tracks_inventory 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?