Create campaign
Creates a new campaign in your account with the specified parameters.
This endpoint allows merchants to create new campaigns on demand by providing a set of the most common parameters used
Request
Method | URL |
|
|
Parameters
Parameter | Required? | Description |
| Yes | The campaign's name |
| Yes | The base URL that will be used to generate affiliate links for the campaign |
| No |
|
| Yes | The type of reward associated with this campaign - |
| Yes, if | The commission percentage for this campaign |
| Yes, if | The amount of the fixed commission for this campaign in cents |
| Yes, if | ISO currency code in which the fixed commission for this campaign is denominated. Fixed commissions can be defined in any currency, but they will be converted to and displayed in your company's display currency when awarded. |
| No | The minimum amount of cumulative commissions required for an affiliate to receive a payout in cents denominated in your company's display currency. (Default: |
| No | The ID of the Stripe coupon associated with this campaign, used for double-sided incentives. Since this feature is only enabled for customers on our Growth and Enterprise plans, attempts by other subscribers to set a value for this with result in an error. |
Example
Response
Response code | Body |
200 | A campaign object (JSON) |
Last updated