Skip to main content
Affiliate endpoints sit under /api/brands/{brand}/affiliates/ with moduleAccess:affiliates middleware. Authenticate with EF-Access-Key.

List Affiliates

number
Results per page (1–100, default: 25)
string
Filter by type: external or affcenter
string
Search by name or merchant account ID
string
newest, oldest, created_at, updated_at
cURL

List All Affiliates (Unpaginated)

Returns id, name, type, and merchant for all affiliates — useful for dropdowns.

Quick Access Stats


Organization Affiliates Options

Search affiliates from the organization’s affiliate center — used for linking org affiliates to a brand.
string
Search by name, email, or nickname
number
Ensure this affiliate is included even if outside the search results

Get Affiliate


Create Affiliate

string
required
Affiliate display name (max 255)
string
required
active, disabled, blacklisted, pending, pending_email, or pending_approve
string
Affiliate email. Must be unique per brand.
string
Phone number (max 255)
string
external (manually managed) or affcenter (linked to org affiliate center)
number
Commission percentage or fixed amount
string
percent or fixed
number
Link to a brand merchant integration
boolean
Bypass approval requirements
cURL

Update Affiliate

Same body as Create — all fields optional on update.

Delete Affiliate


Export Affiliates

array
Filter conditions (same as list query params)
array
Limit export to specific affiliate IDs
array
Columns to include in the export

Payouts

Payouts represent commission payments owed to affiliates for a billing period.

List Payouts

number
Filter by affiliate ID
string
Filter by status: pending, approved, paid, rejected, cancelled
number
Results per page (1–100, default: 25)
cURL

Create Payout

Generate a payout for an affiliate based on their conversions in a date range.
number
required
Affiliate ID to create the payout for
string
required
Start date (ISO 8601)
string
required
End date (ISO 8601, must be on or after period_start)
cURL

Update Payout Status

string
required
approved, rejected, paid, or cancelled
string
Required when status is rejected (max 1000 chars)
string
Required when status is paid (e.g. bank_transfer, paypal)
string
Optional payment reference/transaction ID (max 255)
cURL — mark as paid

Upload Payout Invoice

file
Invoice PDF file (multipart/form-data)

Notes

  • type: "affcenter" affiliates are linked to your organization’s affiliate center and require the viewOrganizationAffiliates permission
  • Some organization portals require an uploaded invoice before a payout can be marked as paid
  • Payout amounts are calculated from the affiliate’s commissions on approved conversions within the period