gift_card
A gift card product/instrument with balance and recipient details.
Properties
| Property | Description |
|---|---|
gift_card.balance | Remaining balance. |
gift_card.code | Masked gift-card code safe for the current buyer-visible context. |
gift_card.currency | Currency (ISO code or object). |
gift_card.customer | Buyer-visible customer value for this gift card. |
gift_card.enabled | true when enabled is enabled. |
gift_card.expired | Buyer-visible expired value for this gift card. |
gift_card.expires_on | Expiry date. |
gift_card.initial_value | Buyer-visible initial_value value for this gift card. |
gift_card.last_four_characters | Buyer-visible last_four_characters value for this gift card. |
gift_card.message | Buyer-visible message. |
gift_card.pass_url | Buyer-visible URL for pass, or nil/empty when unavailable. |
gift_card.product | Buyer-visible product value for this gift card. |
gift_card.properties | Buyer-visible properties value for this gift card. |
gift_card.qr_identifier | Buyer-visible qr_identifier value for this gift card. |
gift_card.recipient | Recipient details. |
gift_card.send_on | Date for send, or nil when unavailable. |
gift_card.template_suffix | Buyer-visible template_suffix value for this gift card. |
gift_card.url | Relative URL of the resource. |
Property list is generated from the storefront engine (GiftCardDrop), so it always matches what your theme can use. Use {{ gift_card | json }} only as a curated debug snapshot; it can omit lazy or otherwise public properties.