Voucher Helper Function
voucherPool Function
The voucherPool Helper Function allows you to add Voucher codes in Outgoing messages. Only Vouchers that are uploaded to your CrossEngage Platform can be used. For more information on Vouchers, please refer to the Vouchers section.
The syntax of this helper function is:
Property | Type | Description |
| string | Required. The name of the of the voucher pool that is accessed. |
The voucher pool attributes that may be displayed within a message are the following:
Attribute | Description |
| Optional. The name of the of the voucher pool that is accessed. |
| Required. The voucher code extracted from the voucher pool. |
| Optional. The date the voucher is valid from. e.g. |
| Optional. The date the voucher is valid to e.g. |
| Optional. The value or % amount of the voucher. e.g. |
| Optional. The type of voucher. The types can be either |
| Optional. The currency of the voucher pool. |
| Optional. The minimum basket value that a user must have to be eligible for using a voucher. |
| Optional. The usage conditions for this voucher. |
| Optional. The date the voucher pool was created. |
| Optional. The date the voucher pool was last modified. |
Last updated