Note: This API is only available to Shopify Plus stores, who have configured their Mechanic account with a custom Shopify API password.

How to access it

  • 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

What it contains

Did this answer your question?