Set commission tiers
set_commission_tiersSet the seller's affiliate commission tiers (Pro): rates that lift an affiliate once they reach a number of sales or an amount of revenue (net of tax) in a calendar month (UTC), like 40% after 10 sales or 50% after 5000 in revenue. A tier never lowers an affiliate's own higher rate. Pass tiers: [] to remove them. Optionally set recurring commission on subscription renewals and payment plan instalments: "first" (first payment only), "all" (every renewal), or a number of months. Optionally switch on the affiliates' leaderboard (first names only). Applies to commissions written from then on; past ones don't change. While the program has an approved affiliate, nothing changes yet: it creates an approval request (status pending_approval) the seller approves in Swipefast; tell them and give them the approvalUrl.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_commission_tiers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tiers | No | Each tier: a rate and one threshold. | |
| account | No | Only to work in a client's account: its id from list_accounts. Leave it out for your own account. | |
| recurring | No | "first", "all", or a number of months renewals earn commission for. | |
| leaderboard | No | Show affiliates a leaderboard of this month's sales (first names and initials only). |