There are various times when you’ll want to manage a campaign’s accessibility. This can be done by two API methods for managing the campaign state - enable and disable.
Sets campaign state to active. The vouchers in this campaign can be redeemed - only if the redemption occurs after the start date of the campaign and voucher and the voucher and campaign are not expired.
The access token received from the authorization server in the OAuth 2.0 flow.
The campaign ID or name of the campaign being enabled. You can either pass the campaign ID, which was assigned by Voucherify or the name of the campaign as the path parameter value.
"camp_rRsfatlwN7unSeUIJDCYedal"
Returns an empty json {}.
Response body schema for POST v1/campaigns/{campaignId}/enable.
Schema model for an empty json.