This command is used to get the details of all the products/services a client has
Attributes
clientid - the ID of the client to retrieve the details for
Example Command
$postfields["action"] = "getclientsproducts"; $postfields["clientid"] = "1";
Returned Variables
This command returns an XML response. An example is shown below: <response> <client>1</client> <products> <product> <id>5</id> <orderid>2</orderid> <pid>17</pid> <domain>whmcs.com</domain> <server>1</server> <paymentmethod>paypal</paymentmethod> <firstpaymentamount>9.95</firstpaymentamount> <recurringamount>5.00</recurringamount> <billingcycle>Monthly</billingcycle> <nextduedate>2010-10-25</nextduedate> <status>Active</status> <username>whmcs</username> <password>abc123</password> <customfields> <fieldname1>value</fieldname1> <fieldname2>value</fieldname2> </customfields> </product> </products> </response>
API Functions
Add Client - Update Client - Delete Client - Get Clients - Get Clients Details - Get Clients Products - Get Clients Password - Send Email
Get Support Departments - Get Support Statuses - Get Tickets - Get Ticket - Get Ticket Predefined Cats - Get Ticket Predefined Replies
Open Ticket - Reply Ticket - Add Ticket Note - Delete Ticket
Module Create - Module Suspend - Module Unsuspend - Module Terminate
Create Quote - Update Quote - Delete Quote - Send Quote - Accept Quote
Get Orders - Get Order Statuses - Add Order - Accept Order - Pending Order - Cancel Order - Fraud Order - Delete Order
Get Invoice - Get Payment Methods - Create Invoice - Add Billable Item - Add Invoice Payment
Add Transaction - Add Credit - Capture Payment
Domain WHOIS Lookup - Get Activity Log - Get Admin Details - Update Admin Notes - Get Currencies - Get Email Templates
Get To-Do Items - Get To-Do Item Statuses - Get Staff Online - Get Stats - Encrypt Password - Decrypt Password