API:Update ClientFrom WHMCS DocumentationThis command is used to update the details of a client in your WHMCS system. You just need to send the clientid and the attributes from below that you want to change. You do not need to send them all. Attributes firstname lastname companyname email address1 address2 city state postcode country - two letter ISO country code phonenumber password2 credit - credit balance taxexempt - true to enable notes cardtype - visa, mastercard, etc... cardnum - cc number expdate - cc expiry date startdate - cc start date issuenumber - cc issue number language - default language status - active or inactive Example Command $postfields["action"] = "updateclient"; $postfields["clientid"] = "1"; $postfields["status"] = "Inactive"; Returned Variables clientid - the id of the user updated API Functions |
|





