Skip to content

List Referrals ​

List referrals (commissions) with affiliate, amount, order total, currency, status and source. Filter by affiliate, status, type, payout or date.

Abilityfluent-affiliate/list-referrals
MCP tool namefluent-affiliate-list-referrals
GroupReferrals
PermissionRead referrals: manage_options, or read_all_referrals, manage_all_referrals or manage_all_data
TypeRead-only
RunsReferralTools::listReferrals

Input ​

ParameterTypeRequiredDescription
affiliate_idintegerNo
statusstringNopending: not approved yet. unpaid: earned and owed. processing: in a payout a gateway is sending. paid: in a manual payout from the moment it is created (its transaction says whether you paid), or paid by a gateway. rejected: no commission. One of: pending, unpaid, processing, paid, rejected.
typestringNosale, opt_in, or a type an integration writes such as recurring_sale.
providerstringNoSource integration, for example fluent_cart, woo or manual.
payout_idintegerNoReferrals paid in this payout.
created_fromstringNoDate or date and time, site time unless it has an offset.
created_tostringNoA bare date includes the whole day.
searchstringNoPart of the description, or the order id.
sort_bystringNoDefault created_at. One of: created_at, amount, id.
sort_dirstringNoDefault DESC. One of: ASC, DESC.
pageintegerNoPage number, from 1. Minimum 1.
per_pageintegerNoRows per page. Default 20, max 100. Minimum 1.

Annotations ​

HintValue
readonlytrue
destructivefalse
idempotenttrue
openWorldHintfalse

Example request ​

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fluent-affiliate-list-referrals",
    "arguments": {}
  }
}

FluentAffiliate developer documentation