Voucher Campaigns with individual codes

Prev Next

Preliminary Remarks

When creating a voucher campaign, Frisbii Media generates a six-digit alphanumeric voucher code (e. g. AB1-C34-DE5).

If desired, the voucher code can be replaced with a word, for example. However, this function is not available directly in the Merchant Backend.  This entry describes how this can still be implemented.  


Implement individual voucher code

1. Creation of voucher campaigns in the Merchant Backend

First, the voucher campaign must be created in the Merchant Backend. It is recommended

to create a multiple voucher campaign with one voucher code. The voucher code is created by Frisbii Media.

2. Landing page for voucher redemption

A landing page is required for redemption. It is not advisable to use the voucher redemption field in the checkout with this procedure. The code can be entered in a field on the landing page and sent via a button. The checkout is called up purely technically via the button. In this case, this is done with the API endpoint https://api.frisbii-media-stage.com/api/v3.0/checkout/preparePurchase.

The desired word can now be entered in the "voucherCode" field, e.g. "PROBEABO" to be used instead of the voucher code. The voucher redemption field can be deactivated using the "hideVoucherInput" flag.

More information can be found in the API documentation.

3. Mapping

The actual new step now consists of a mapping that assigns the external code (PROBEABO) to the internal code of the voucher campaign (e.g. AB1-C34-DE5) .

This mapping can, for example, be a script that checks the input of the external code and forwards the corresponding internal code to the Frisbii Media System. If no match is found, an error message may also be displayed.