Vincent is here! Just say the word, and Vincent will build the campaigns for you! Get early access.
curl --request POST \
--url https://{cluster}.voucherify.io/v1/campaigns/{campaignId}/disable \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{}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 inactive. The vouchers in this campaign can no longer be redeemed.
curl --request POST \
--url https://{cluster}.voucherify.io/v1/campaigns/{campaignId}/disable \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{}Documentation Index
Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
Use this file to discover all available pages before exploring further.
The campaign ID or name of the campaign being disabled. 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}/disable.
Was this page helpful?