| Method | update.deal_contacts |
|---|---|
| Description | Contact Update |
| Available to | Agent, Client |
Request parameters
| Title | Type | Required | Description |
|---|---|---|---|
access_token |
string | yes | Authentication session key |
user_id |
number | no | Unique user identifier of the agent client on behalf of which the request is made Is required for the agentTo obtain a list of client users, you must use the method "get.customer_users" |
ext_id |
string | yes | External Contact ID |
name |
string | no | Contact name |
created_date_time |
iso8601 | no | Date and time the contact was created in CRM (YYYY-MM-DD hh:mm:ss) |
phone_numbers |
array | no | List of contact numbers in E164 format It is necessary to transmit the current list |
emails |
array | no | The contact's email address. It is necessary to transmit the current list |
JSON request structure```json
{ "jsonrpc": "2.0", "id": "number", "method": "update.deal_contacts", "params": { "access_token":"string", "user_id":"number", "ext_id": "string", "name": "string", "created_date_time": "iso8601", "phone_numbers": [ "string" ], "emails": [ "string" ] } }
### JSON response structure```json
{
"jsonrpc": "2.0",
"id": "number",
"result": {
"data": {},
"metadata": "object"
}
}
List of returned errors
See the section "List of errors for methods with the update verb"