Change campaign
update_campaignChange an existing campaign: its name, description, where links send people, status (active, or inactive to pause it), the commission, whether it is listed in the Discovery marketplace, whether new affiliates are approved automatically, or the recurring commission terms. Send only what changes; everything else stays as it is. Confirm the exact change with the user before calling, because affiliates see the new terms at once. Commission tiers, coupon codes, files and prices are changed on the dashboard. Returns the campaign and changed, the fields that actually changed. Requires Pro plan or higher; live keys only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New campaign name, at least 2 characters | |
| status | No | active runs the campaign; inactive pauses it | |
| isPublic | No | List the campaign in the Discovery marketplace | |
| targetUrl | No | Where affiliate links send people | |
| campaignId | Yes | The campaign to change | |
| description | No | New description shown to affiliates | |
| commissionType | No | Percentage of the sale, or a fixed amount per sale | |
| commissionValue | No | The percent (e.g. 25) or the fixed amount in the campaign currency | |
| autoApproveAffiliates | No | Approve affiliates who join through the join link without review | |
| recurringCommissionMode | No | Limit renewals by months since the first sale, or by number of payments | |
| recurringCommissionType | No | Renewals pay the same rate as the first sale, or a custom rate | |
| recurringCommissionCount | No | Payments that pay commission, including the first | |
| recurringCommissionValue | No | The renewal rate when recurringCommissionType is custom | |
| enableRecurringCommissions | No | Also pay commission on subscription renewals | |
| recurringCommissionDurationMonths | No | Months of renewals that pay commission |