Skip to content

Template: Voucher Redeemed

Action Key
voucher_redeemed
Description
Sent when a voucher is redeemed for a class booking.
Recipients
guardian

Template Variables

These variables are available in the Liquid template context. Access nested properties using dot notation (e.g., enrolment.activity.name).

voucher(type: voucher)

An issued voucher for a member or household.

Property PathTypeDescription
voucher.idinteger
Unique ID of the issued voucher.
voucher.voucher_typevoucher_type
The voucher type definition.
voucher.voucher_type.namestring
Name of the voucher type.
voucher.voucher_type.descriptionstring
Description of the voucher type.
voucher.usesinteger
Total uses granted on this voucher.
voucher.remaining_usesinteger
Remaining uses of this voucher.
voucher.expires_atdatetime
UTC instant when the voucher expires.
voucher.notestring
Plain text staff note on the voucher.

activity(type: activity)

An object representing a class or program activity.

Property PathTypeDescription
activity.namestring
Name of the activity.
activity.schedule_summarystring
A human-readable summary of the activity schedule.

tenant(type: tenant)

An object representing an organisation/tenant.

Property PathTypeDescription
tenant.idinteger
Unique ID of the tenant.
tenant.namestring
Name of the organisation.