Inventory item object
How to access it
Use
{{ order.line_items[n].variant.inventory_item }}
in tasks responding to shopify/orders eventsUse
{{ product.variants[n].inventory_item }}
in tasks responding to shopify/products events
What it contains
An array of related inventory level objects:
{{ variant.inventory_levels }}
The related variant object:
{{ inventory_item.variant }}
Last updated