Update Client

updateclient

Purpose

This command is used to update of your details in our Billing system. You just need to send the the attributes from below that you want to change. You do not need to send them all.

Attributes

Optional Attributes

  • firstname
  • lastname
  • companyname
  • email
  • address1
  • address2
  • city
  • state
  • postcode
  • country
  • phonenumber
  • password2

Example Command

$postfields = array();
$postfields["responsetype"] = "json";

$postfields["action"] = "updateclient";
$postfields["email"] = "new.email@demo.com";

$result = mikrovps_SendCommand( $postfields );

Successful Response

result=success
clientid=xxx - ID of the updated client

Error Response

result=error
message=Duplicate Email Address

Email address already in use

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Add Cancel Request

addcancelrequest Purpose This command is used to Add Cancellation Request for a specific...

Add Contact

addcontact Purpose This command is used to create a new contact under an account. Attributes...

Delete Contact

deletecontact Purpose This command is used to delete a contact in the system. Attributes...

Get Clients Details

getclientsdetails Purpose This command is used to retrieve all the data held about your...

Get Clients Addons

getclientsaddons Purpose This command is used to obtain the addons associated with a client...