Campaigns

Enable Campaign

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.

post/v1/campaigns/{campaignId}/enable

Request

  • Base URL
    https://api.voucherify.io
  • URL
    https://api.voucherify.io/v1/campaigns/{campaignId}/enable
  • Auth
    • API key in header X-App-Id and API key in header X-App-Token
    • or OAuth 2
      Implicit: https://api.voucherify.io/v1/oauth/token
      Scopes: api, campaigns

Response

Returns an empty json {}.

CampaignsEnableResponseBody required

Schema model for an empty json.

Changes

No recorded changes to this operation across all 1 revision of this API.