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