API: Set client details
setClientDetails
Set new client details. Send only parameters you wish to change
Required parameters
Parameter | Description |
id | Client ID |
Optional parameters
Parameter | Description |
firstname | Client firstname |
lastname | Client lastname |
email | Client email address |
phonenumber | Client phone number |
type | Client type - Private or Company values allowed here |
address1 | Address line 1 |
address2 | Address line 2 |
city | City |
state | State |
postcode | ZIP / Postal code |
country | Country ISO code - i.e: GB, US etc. |
companyname | Customer's company name (if any) |
variable | Custom field variable |
status | One of valid client status: Active ,Closing ,Closed ,PendingRemoArchived ,Lead ,Prospect ,Lost |
language | Customer language name |
group_id | Group ID to assign customer to |
currency_id | Customer currency id to change to |
Request
PHP Samples
Response