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

List Affiliates

per_page
number
Results per page (1–100, default: 25)
type
string
Filter by type: external or affcenter
q
string
Search by name or merchant account ID
sort
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.
q
string
Search by name, email, or nickname
selected_id
number
Ensure this affiliate is included even if outside the search results

Get Affiliate


Create Affiliate

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

Update Affiliate

Same body as Create — all fields optional on update.

Delete Affiliate


Export Affiliates

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

Payouts

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

List Payouts

affiliate_id
number
Filter by affiliate ID
status
string
Filter by status: pending, approved, paid, rejected, cancelled
per_page
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.
brand_affiliate_id
number
required
Affiliate ID to create the payout for
period_start
string
required
Start date (ISO 8601)
period_end
string
required
End date (ISO 8601, must be on or after period_start)
cURL

Update Payout Status

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

Upload Payout Invoice

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