Create a standalone voucher. You can choose to create a GIFT_VOUCHER
, a DISCOUNT_VOUCHER
, or a LOYALTY_CARD
. The code path parameter can use all letters of the English alphabet, Arabic numerals and special characters.
When you create a new voucher, you can specify a type to create it.
Creating a new voucher will create a new standalone voucher if no campaign
name or campaign_id
is provided. However, if an ID or name of a campaign with the type
set to STANDALONE
is provided, the voucher will be added to such campaign. In the case of the loyalty card, a campaign name or ID is required.
Standalone Vouchers and Campaigns
In version v20241004, standalone vouchers created through the Voucherify dashboard create a campaign for that voucher. However, vouchers created through the API do not have a campaign attached, so the values for
campaign
andcampaign_id
arenull
.Voucherify developers work on adding an optional feature to create a standalone voucher campaign through the API.
Follow the Voucherify Release Notes for more details about released features.