Hi there,
I need to extend the API to include the ability to view affiliate details, such as commission type and amount. Assuming I name my file "includes/api/getaffiliatedetails.php, with the $postfields['action'] set to "getaffililatedetails", am I able to use the database tools to retrieve the information of a user? I see a file in the root of WHMCS called "affiliatefunctions.php". Can I leverage anything from this file?
Regards,
Mike
I need to extend the API to include the ability to view affiliate details, such as commission type and amount. Assuming I name my file "includes/api/getaffiliatedetails.php, with the $postfields['action'] set to "getaffililatedetails", am I able to use the database tools to retrieve the information of a user? I see a file in the root of WHMCS called "affiliatefunctions.php". Can I leverage anything from this file?
Regards,
Mike