π«Gift card object
Last updated
Was this helpful?
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.
Note: This API is only available to Shopify Plus stores, who have configured their Mechanic account with a custom Shopify API password.
Use {% for gift_card in shop.gift_cards %} to loop through all gift cards
Use {% for gift_card in shop.gift_cards.enabled %} to loop through all enabled gift cards
Use {% for gift_card in shop.gift_cards.disabled %} to loop through all disabled gift cards
Use {{ shop.gift_cards[1234567890] }} to retrieve a single gift card, by ID
The related order object: {{ gift_card.order }}
The related customer object: {{ gift_card.customer }}
Last updated
Was this helpful?
Was this helpful?