To have full control and overview of
promo codes and
promotion tiers you should use campaigns. Because this is one of the must-use components, Voucherify offers several endpoints and attributes to help you integrate promo campaigns with your infrastructure.
The update method allows you to change multiple vouchers or promotion tiers in a single request. The fields you can update in this mode:
Keep in mind that in the case of promo code campaigns the change will be propagated only to unpublished and unredeemed vouchers. You can still edit such a voucher directly.
If you use the list endpoint, you'll get the redemption count for all of your campaigns. You can additionally filter them out with
campaign_type Possible options:
Usually, voucher campaigns are created in the dashboard by marketers. But sometimes you might want to interact with them programmatically. Apart from standard CRUD methods, you can:
- Extend campaigns with new codes according to campaign attributes.
- Import vouchers to a campaign with JSON and CSV payloads.
When it comes to auto-applied promotion discounts, you can use campaigns to stack multiple tiers together.
Updated over 1 year ago