Approve or reject affiliate
update_affiliate_statusApprove or reject an affiliate who applied to a campaign and is waiting for review (list_affiliates with status pending shows who is waiting, with each campaign they applied to). Approving lets them promote the campaign at once: they get their link by email, and a coupon code too when the campaign makes them. Rejecting is final from here: they cannot apply again, and only the dashboard can let them back in. Confirm each decision with the user before calling. This never approves sales or commissions. Requires Pro plan or higher.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | approve lets them in; reject turns them down | |
| campaignId | Yes | The campaign they applied to | |
| affiliateId | Yes | The affiliate who applied |