sathish Posted February 9, 2018 Share Posted February 9, 2018 I retrieve configured products. function create_forum_account($vars) { $command = 'GetProducts'; $postData = array( 'pid' => 34, ); $results = localAPI($command, $postData,''ADMIN_USERNAME'); print_r($results); } add_hook("ClientAreaPage",1,"create_forum_account"); Result: ------------------ Array ( [result] => success [totalresults] => ) Link to comment Share on other sites More sharing options...
sathish Posted February 9, 2018 Author Share Posted February 9, 2018 I get solution from below post https://whmcs.community/topic/283077-core-11933-getproducts-api-does-not-return-product-data/ Link to comment Share on other sites More sharing options...
Recommended Posts