getReferringAffiliate
Syntax
getReferringAffiliate( affiliate_id )
Get the referring partner for an affiliate.
Access rights
Read access or full access required
Arguments
affiliate_id - the affiliate possible referred by a partner
Return Data
The data record of the referred affiliate.
[data] => Array
(
[affiliate_id] => 12345
[affiliate_name] => AnAffiliateBringingBuyers
[referrer_id] => 54321
[referrer_name] => APartnerBringingAffiliates
[commission] => 20.00
[created_at] => 2019-06-05 05:48:59
[created_by] => 1
)
Was this helpful?