🚫Refund object
These Shopify REST-backed Liquid objects are legacy. The product and variant Liquid objects no longer work, and Shopify is phasing out the REST Admin API that these objects depend on. Use GraphQL for new work; see the Shopify REST Admin API notice and migration guides.
How to access it
Use
{{ refund }}in tasks responding to shopify/refunds eventsUse
{% for refund in order.refunds %}in tasks responding to shopify/orders events
What it contains
The related order object:
{{ refund.order }An array of refund line items, each containing a line item object:
{{ refund.refund_line_items.first.line_item }}
Last updated
Was this helpful?