Update campaign
Updates the specified campaign by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
Request
Method
URL
PUT
https://api.getrewardful.com/v1/campaigns/:id
Parameters
Parameter
Required?
Description
name
No
The campaign's name
url
No
The base URL that will be used to generate affiliate links for the campaign
private
No
true
if the campaign should be invite-only, false
if it should be open to the public. (Default: false
)
reward_type
No
The type of reward associated with this campaign - percent
or amount
commission_percent
No
The commission percentage for this campaign
commission_amount_cents
No
The amount of the fixed commission for this campaign in cents
commission_amount_currency
No
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.
minimum_payout_cents
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: 0
)
stripe_coupon_id
No
Example
Response
Response code
Body
200
Last updated