Skip to main content

Fluent Affiliate

Provider id: fluent-affiliate · 55 tool(s).

faff_add_manager

Add (or update) a manager: grant a WordPress user scoped affiliate-admin permissions.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
user_idintegeryesWordPress user ID.
permissionsarrayyesPermission keys: read_all_affiliates, manage_all_affiliates, read_all_referrals, manage_all_referrals, read_all_visits, read_all_payouts, manage_all_payouts, manage_all_data.

faff_create_affiliate

Create an affiliate for an existing WordPress user.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
user_idintegeryesWordPress user ID to enroll.
statusstringyespending, active, or inactive.
rate_typestringyesdefault, group, flat, or percentage.
ratenumbernoCommission rate (required for flat/percentage).
group_idintegernoAffiliate group ID (required when rate_type=group).
payment_emailstringnoPayout email (non-bank programs).
bank_detailsstringnoBank details (bank_transfer programs).

faff_create_creative

Create an affiliate creative (banner/text/html link).

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
namestringyesCreative name.
descriptionstringnoCreative description (optional).
typestringyesimage, text, html, or banner.
imagestringnoImage URL (image/banner types).
textstringnoText/HTML body (text/html types).
urlstringnoDestination URL.
privacystringnopublic or private (default public).
statusstringnoactive, inactive, scheduled, or expired (default active).
affiliate_idsarraynoRestrict to these affiliate IDs (private).
group_idsarraynoRestrict to these group IDs (private).
metaobjectnoExtra meta (start_time, end_time, media_width, media_height, media_type, attachment_id).

faff_create_group

Create an affiliate group (commission tier).

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
namestringyesGroup name.
rate_typestringnopercentage, flat, or default.
ratenumbernoCommission rate.
statusstringnoactive or inactive.
notesstringnoOptional notes.

faff_create_referral

Create a referral (commission) for an active affiliate.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
affiliate_idintegeryesAffiliate ID (must be active).
amountnumberyesCommission amount.
statusstringyesunpaid, pending, or rejected (paid is system-set).
typestringyessale or opt_in.
descriptionstringnoOptional description.
providerstringnoSource provider (default manual).
provider_idintegernoSource provider reference ID.

faff_delete_affiliate

Delete an affiliate.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.

faff_delete_creative

Delete an affiliate creative.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesCreative ID.

faff_delete_group

Delete an affiliate group.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesGroup ID.

faff_delete_payout_transaction

Delete a transaction from a payout.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesPayout ID.
transaction_idintegeryesTransaction ID.

faff_delete_referral

Delete a referral.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesReferral ID.

faff_get_affiliate

Get a Fluent Affiliate affiliate by ID.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.

faff_get_affiliate_statistics

Get detailed (time-series) statistics for a single affiliate.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.

faff_get_affiliate_stats

Get overview statistics for a single affiliate.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.

faff_get_commerce_report

Get the commerce report for a specific integration provider (e.g. fluent-cart, woocommerce).

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
providerstringyesProvider slug (see faff_list_advanced_providers).

faff_get_creative

Get a creative by ID.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesCreative ID.

faff_get_dashboard_chart_stats

Get the dashboard time-series chart statistics.

Profiles: full, affiliate

Parameters

No parameters.

faff_get_dashboard_stats

Get the affiliate program dashboard statistics (totals for affiliates, referrals, payouts, visits).

Profiles: full, affiliate

Parameters

No parameters.

faff_get_email_config

Get the affiliate email notification config.

Profiles: full, affiliate

Parameters

No parameters.

faff_get_group

Get an affiliate group by ID.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesGroup ID.

faff_get_group_affiliates

List affiliates in a group.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesGroup ID.

faff_get_group_overview

Get an affiliate group overview.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesGroup ID.

faff_get_group_statistics

Get affiliate group statistics.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesGroup ID.

faff_get_payout

Get a payout by ID.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesPayout ID.

faff_get_referral

Get a referral by ID.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesReferral ID.

faff_get_referral_config

Get the affiliate referral/commission program config.

Profiles: full, affiliate

Parameters

No parameters.

faff_get_registration_fields

Get the affiliate registration form fields config.

Profiles: full, affiliate

Parameters

No parameters.

faff_list_advanced_providers

List the commerce integrations (advanced providers) available for commerce reports.

Profiles: full, affiliate

Parameters

No parameters.

faff_list_affiliate_referrals

List referrals for a specific affiliate (native way to filter referrals by affiliate).

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.
searchstringnoSearch term.
statusstringnoReferral status (unpaid, pending, rejected, paid).
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_list_affiliate_transactions

List payout transactions for a specific affiliate.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_list_affiliate_visits

List visits attributed to a specific affiliate.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_list_affiliates

List Fluent Affiliate affiliates with optional search/status filter.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
searchstringnoSearch term.
statusstringnoFilter by status (pending, active, inactive).
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_list_creatives

List affiliate creatives (banners/links).

Profiles: full, affiliate

Parameters

No parameters.

faff_list_groups

List affiliate groups.

Profiles: full, affiliate

Parameters

No parameters.

faff_list_integrations

List available commerce integrations and their connection status.

Profiles: full, affiliate

Parameters

No parameters.

faff_list_managers

List Fluent Affiliate managers and their permissions.

Profiles: full, affiliate

Parameters

No parameters.

faff_list_pages

List the affiliate program pages (portal, registration, etc.).

Profiles: full, affiliate

Parameters

No parameters.

faff_list_payout_referrals

List the referrals included in a payout.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesPayout ID.
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_list_payout_transactions

List the per-affiliate transactions in a payout.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesPayout ID.
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_list_payouts

List Fluent Affiliate payouts with optional search/status filter.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
searchstringnoSearch term.
statusstringnoFilter by status (draft, processing, paid, failed).
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_list_referrals

List Fluent Affiliate referrals (commissions) with optional search/status filter.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
searchstringnoSearch term.
statusstringnoFilter by status (unpaid, pending, rejected, paid).
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_list_routes

List the Fluent Affiliate REST routes registered under /fluent-affiliate/v2 and their HTTP methods. Optional "search" substring filter and "limit" (1-500, default 200). Use this to find a path for faff_request.

Passthrough router — available in every toolset profile.
Profiles: all profiles

Parameters

ParameterTypeRequiredDescription
searchstringnoOnly return routes whose path contains this substring.
limitintegernoMax routes to return (1-500, default 200).

faff_list_visits

List Fluent Affiliate referral visits with optional search/status filter.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
searchstringnoSearch term.
statusstringnoFilter by status (converted, unconverted).
per_pageintegernoItems per page (default 15).
pageintegernoPage number.

faff_mark_payout_transactions_paid

Bulk-mark all processing transactions in a payout as paid.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesPayout ID.

faff_process_payout

Create and process a payout from a config: claims matching referrals and marks them paid. Moves money — use faff_validate_payout_config first.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
titlestringyesPayout title.
descriptionstringyesPayout description.
affiliate_idsarraynoLimit to these affiliate IDs (optional).
start_datestringnoReferral start date (Y-m-d, optional).
end_datestringnoReferral end date (Y-m-d, optional).
min_payoutnumbernoMinimum payout threshold (optional).

faff_remove_manager

Remove a manager (revoke their affiliate-admin permissions).

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesManager record ID (or WP user ID per the managers list).

faff_request

Call any Fluent Affiliate REST route (scoped to /fluent-affiliate/v2). GET runs immediately; POST/PUT/PATCH/DELETE require "confirm": true, or pass "dry_run": true to preview the request. Use faff_list_routes to discover available paths.

Passthrough router — available in every toolset profile.
Profiles: all profiles

Parameters

ParameterTypeRequiredDescription
methodstringyesHTTP method: GET, POST, PUT, PATCH, or DELETE.
pathstringyesRoute path within /fluent-affiliate/v2, e.g. /fluent-affiliate/v2/contacts or /fluent-affiliate/v2/contacts/42.
bodyobjectnoRequest body for writes (JSON object).
queryobjectnoQuery-string arguments (JSON object).
confirmbooleannoRequired to execute a write (POST/PUT/PATCH/DELETE).

faff_set_affiliate_status

Set affiliate status (pending, active, inactive). Errors if unchanged. Dry-run-gated for parity with sibling status setters.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.
statusstringyesNew status: pending, active, or inactive.

faff_update_affiliate

Update an affiliate (status, rate, group, payout target, note).

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesAffiliate ID.
statusstringyespending, active, or inactive.
rate_typestringyesdefault, group, flat, or percentage.
ratenumbernoCommission rate (required for flat/percentage).
group_idintegernoAffiliate group ID (required when rate_type=group).
payment_emailstringnoPayout email.
bank_detailsstringnoBank details.
notestringnoOptional internal note.

faff_update_creative

Update an affiliate creative.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesCreative ID.
namestringnoCreative name.
descriptionstringnoCreative description (optional).
typestringnoimage, text, html, or banner.
imagestringnoImage URL.
textstringnoText/HTML body.
urlstringnoDestination URL.
privacystringnopublic or private.
statusstringnoactive, inactive, scheduled, or expired.
affiliate_idsarraynoRestrict to these affiliate IDs.
group_idsarraynoRestrict to these group IDs.
metaobjectnoExtra meta.

faff_update_group

Update an affiliate group.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesGroup ID.
namestringnoGroup name.
rate_typestringnopercentage, flat, or default.
ratenumbernoCommission rate.
statusstringnoactive or inactive.
notesstringnoOptional notes.

faff_update_payout

Update a payout title/description (only these two fields are editable).

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesPayout ID.
titlestringyesPayout title (3-255 chars).
descriptionstringyesPayout description (3-500 chars).

faff_update_payout_transaction

Set a payout transaction status (processing or paid). Marking paid is a payout money-state change, so this is dry-run-gated like its bulk/delete siblings.

🔴 Destructive — supports a dry_run preview flag.
Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesPayout ID.
transaction_idintegeryesTransaction ID.
statusstringyesprocessing or paid.

faff_update_referral

Update a referral (amount, status, type, description). Cannot edit a paid referral.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
idintegeryesReferral ID.
amountnumberyesCommission amount.
statusstringyesunpaid, pending, or rejected.
typestringyessale or opt_in.
descriptionstringnoOptional description.

faff_update_referral_config

Update the referral/commission program config. Pass the full config object (fetch with faff_get_referral_config first to round-trip).

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
referral_configobjectyesThe full referral_config object (commission type/rate, cookie duration, enabled integrations, referral variable, etc.).

faff_validate_payout_config

Validate/preview a payout config (claimable referrals) without creating it. Safe, no side effects.

Profiles: full, affiliate

Parameters

ParameterTypeRequiredDescription
titlestringyesPayout title.
descriptionstringyesPayout description.
affiliate_idsarraynoLimit to these affiliate IDs (optional).
start_datestringnoReferral start date (Y-m-d, optional).
end_datestringnoReferral end date (Y-m-d, optional).
min_payoutnumbernoMinimum payout threshold (optional).