Using XML’s DataService we can query the Referral table for referrals belonging to a contact. This can be used to identify the Affiliate that referred a given contact.
The REST API exposes a way to create Referrals, but I don’t see a way to list referrals for a given contact.
Is there a way to identify the affiliate (if there is one) for a given contact with REST?