API:Add ClientFrom WHMCS DocumentationThis command is used to add a new client to your WHMCS system. Attributes firstname lastname companyname - optional email address1 address2 - optional city state postcode country - two letter ISO country code phonenumber password2 - password for the new user account Example Command $postfields["action"] = "addclient"; $postfields["firstname"] = "Test"; $postfields["lastname"] = "User"; $postfields["companyname"] = "WHMCS"; $postfields["email"] = "demo@whmcs.com"; $postfields["address1"] = "123 Demo Street"; $postfields["city"] = "Demo"; $postfields["state"] = "Florida"; $postfields["postcode"] = "AB123"; $postfields["country"] = "US"; $postfields["phonenumber"] = "123456789"; $postfields["password2"] = "demo"; Returned Variables clientid - the id of the new user API Functions |
|





