Skip to content

Get Referral ​

Read one referral: amount, order, customer, products, when it becomes payable, and its visit and payout when your permissions allow them. payable_from appears only while the referral is in the holding period.

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

Input ​

ParameterTypeRequiredDescription
idintegerYesReferral id.

Annotations ​

HintValue
readonlytrue
destructivefalse
idempotenttrue
openWorldHintfalse

Example request ​

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

FluentAffiliate developer documentation