Can you add a referral partner with Python?


I am using python to create a new contact but I am wondering if there is any way to add that same contact as a referral partner as well within my python script. Is there any documentation on that?


You can, but how you do it depends on which version fo the API you are using. FYI Affiliate = ReferralPartner.!/Affiliate/createAffiliateUsingPOST