GraphQL: ProductVariant trackInventory field?

dalongi
New Member
1 0 0

Currently 'trackInventory' is exposed on the Product node, but in Shopify UI it can be set differently per ProductVariant, so it seems this field captures "Does any Variant in the Product track inventory?"

Is there a way to see whether a specific Variant has enabled the trackInventory setting?

It looks like it may be available via InventoryItem, though this requires an additional `read_inventory` access scope.

0 Likes
HunkyBill
Shopify Expert
4504 46 490

True that. You need read_inventory scope to see whether a variant is tracked or not.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
0 Likes