SyntaxgetCustomerToAffiliateBuyerDetails( purchase_id )Returns details on the customer to affiliate programm for the specific buyer(s) of the given purchase(s).Before use, setup a customer to affiliate programm in Digistore24:  https://www.digistore24-app.com/vendor/account/affiliates/invite_affiliatesAccess rightsfull access required.Argumentspurchase_id – the Digistore24 order id. Or a comma seperated list of order ids.Return dataLinks and user name for the buyer to become an affiliate:[data] => Array
(
[customer_affiliate_name] => user7381929
[customer_to_affiliate_url] => http://www.digistore24.com/become_affiliate/KD54T9BE/MEBEBPJD
[customer_affiliate_promo_url] => http://www.digistore24.com/redir/258264/user7381929/
)multiple order idsIf multiple order ids are given, the result is an array - with one entry for each given order id.Variablescustomer_affiliate_name – the username of the buyer, if he becomes an affiliatecustomer_to_affiliate_url – the buyer uses this url to register to become an affiliatecustomer_affiliate_promo_url – the new affiliate uses this url to promote the product he bought. The buyer can promote any product you allow him to.