Authorizations
Path Parameters
Body
- Create loyalty card
- Create gift card
- Create voucher in a discount campaign
LOYALTY_CARD Response
GIFT_VOUCHER, DISCOUNT_VOUCHER, LOYALTY_CARD - Amount
- Unit
- Unit Multiple
- Percent
- Fixed
Create a generic (standalone) vouchers. 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 generic (standalone) vouchers 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, generic (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
campaignandcampaign_idarenull.Voucherify developers work on adding an optional feature to create a generic (standalone) vouchers campaign through the API.
Follow the Voucherify Release Notes for more details about released features.
LOYALTY_CARD GIFT_VOUCHER, DISCOUNT_VOUCHER, LOYALTY_CARD