Update Account

PATCH {{baseUrl}}/api/v1/accounts/:account_id

This API updates details of an existing account.

OAuth Scope

  • Desk.contacts.UPDATE

Attributes

Attribute NameData TypeDescription
customFields<list>
User-defined fields associated with the account
cf<JSONObject>
User-defined fields associated with the account
accountName<string>
max chars : 200
Name of the account
email<string>
max chars : 150
Email ID of the account
website<string>
max chars : 120
Website of the account
fax<string>
max chars : 100
Fax number of the account
ownerId<long>
ID of account owner
associatedSLAIds<list>
IDs of the SLAs associated with the account. An account can have multiple SLAs, but only one SLA per department can be mapped to it.
industry<string>
max chars : 120
Industry in which the account operates
city<string>
max chars : 100
City in which the account is based
country<string>
max chars : 100
Country in which the account is based
state<string>
max chars : 100
State in which the account is based
street<string>
max chars : 250
Address of the account
code<string>
max chars : 100
Zip code
description<string>
max chars : 65535
A short description of the account
phone<string>
max chars : 100
Phone number of the account
annualrevenue<double>
Annual revenue of the account

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;country&quot;:null,&quot;modifiedTime&quot;:&quot;2015-03-02T14:49:18.000Z&quot;,&quot;website&quot;:null,&quot;code&quot;:null,&quot;cf&quot;:{&quot;cf_contactcount&quot;:&quot;1&quot;},&quot;isFollowing&quot;:&quot;true&quot;,&quot;accountName&quot;:&quot;Zylker Agents&quot;,&quot;city&quot;:null,&quot;associatedSLAIds&quot;:[3263000000057,3000000057001],&quot;description&quot;:null,&quot;industry&quot;:null,&quot;zohoCRMAccount&quot;:{&quot;id&quot;:&quot;32754000000537001&quot;},&quot;ownerId&quot;:&quot;3263000000057001&quot;,&quot;isDeleted&quot;:false,&quot;isTrashed&quot;:false,&quot;phone&quot;:&quot;82301023900123&quot;,&quot;street&quot;:null,&quot;annualrevenue&quot;:null,&quot;webUrl&quot;:&quot;https://desk.zoho.com/support/zylker/ShowHomePage.do#Accounts/dv/d126330fb061247d9ebddaeb9d93ba74750b0284bc703b38&quot;,&quot;createdTime&quot;:&quot;2015-02-16T16:57:44.000Z&quot;,&quot;state&quot;:null,&quot;id&quot;:&quot;3263000000074571&quot;,&quot;fax&quot;:null,&quot;email&quot;:null}