younifyd
Menu

Add Vouchers To Campaign

Add Vouchers to Campaign

POST/v1/campaigns/{campaignId}/vouchers

Use it in a workflow

  1. Add a step and choose the Voucherify connector.
  2. Pick the Add Vouchers To Campaign action (under Campaigns).
  3. Fill in the fields below, then reference the result from later steps as {{addVouchersToCampaign.response.data}}.

Request

Path parameters

campaignIdstringrequired

The campaign ID or name of the campaign to which voucher(s) will be added. You can either pass the campaign ID, which was assigned by Voucherify, or the name of the campaign as the path parameter value.

Query parameters

vouchers_countinteger

Number of vouchers that should be added.

Response

Returns 200 with an object. Read it in later steps with {{addVouchersToCampaign.response.data.<field>}}.

Need more? See the Voucherify guide for connection setup and behaviour shared by every action.

Add Vouchers To Campaign — Voucherify — Documentation