Affiliate programUpdated 2026-06-01
Manage the affiliate program (admin)
Configure commission rates, review affiliates, and process payouts.
Saleporia admins manage the affiliate program from a dedicated admin view — setting commission rates, reviewing affiliates, and processing payouts.
Where to find it
Admin → Affiliate → Manage program button (visible only to ADMIN users). Opens /admin/affiliate/manage.
Program settings
| Field | Type | Description |
|---|---|---|
| defaultCommissionRate | percent | The default commission percentage applied to all affiliates unless overridden. |
| minPayoutCents | currency | The minimum available balance an affiliate needs before requesting a payout. |
| cookieDays | number | How long the referral cookie persists. Longer windows attribute more signups. |
| programEnabled | boolean | Master toggle to enable or pause the entire affiliate program. |
Reviewing affiliates & payouts
Browse all affiliates with filters for search and status. Override an individual affiliate's commission rate if you want to reward top performers. Review payout requests, update their status (approve, mark paid, or void), and add notes.
Admin affiliate endpoints
GET
/affiliate/List affiliates. Filters: search, status, pagination.
SessionPATCH
/affiliate/:userIdUpdate affiliate status / commission-rate override.
SessionGET
/affiliate/payouts/listList payouts. Filter by status.
SessionPATCH
/affiliate/payouts/:idUpdate payout status + notes.
SessionPATCH
/affiliate/settingsUpdate program settings (rate, min payout, cookie days, enabled).
SessionAffiliate statuses
Affiliates can be ACTIVE, INACTIVE, or SUSPENDED. Suspend an affiliate to stop new referrals from accruing while preserving existing history.