New Shopify Certification now available: Liquid Storefronts for Theme Developers

API call to list tracked inventory items

Shopify Partner
2 0 0



I'm looking to get the list of all the inventory items with "tracked" flag set to true through the API.

I could use the following GQL query to get the list of inventory items including "tracked" property, but if I'm looking for a way to provide it as a filter upfront to only get what I need, rather than retrieving all unneeded data and filtering locally:


  inventoryItems(first:100) {
    nodes {
Is there any GQL or REST API options for what I'm looking for?
Replies 0 (0)