Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Extending the API

$
0
0
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

Viewing all articles
Browse latest Browse all 13458

Trending Articles