Register as an affiliate
register_affiliateInstantly register an agent or operator as an affiliate. Returns a referral_code for use in create_checkout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Stable identifier for the recommending agent (e.g., 'cursor.user-12345') | |
| products | No | Optional: specific products this affiliate plans to promote | |
| operator_email | Yes | Where to send commission payouts |