Campaigns

Disable 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 inactive. The vouchers in this campaign can no longer be redeemed.

post/v1/campaigns/{campaignId}/disable

Request

  • Base URL
    https://api.voucherify.io
  • URL
    https://api.voucherify.io/v1/campaigns/{campaignId}/disable
  • 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 {}.

CampaignsDisableResponseBody required

Schema model for an empty json.

Changes

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