{% hint style="warning" %} 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. {% endhint %}
- Use
{% for risk in order.risks %}in tasks responding toshopify/ordersevents, or in any other scenario with an order object - Use
{{ order.risks[12345].message }}to retrieve a specific order risk, given an order object