affiliateLinks array: one entry per referral link slug for that affiliate, each with id, link, timestamps, and related IDs.
- Create affiliate (
POST /affiliates): optional body fieldaffiliateLinksets the slug of the initial link; if omitted, a slug is generated. - Update affiliate (
PUT /affiliates): optionalaffiliateLinkadds a new link; it does not remove or replace existingaffiliateLinks.
Affiliate endpoints
Create, read, update, and delete affiliates.
Link endpoints
Manage an affiliate’s referral links.