Update Contact¶
Endpoint: PUT /contacts/{contactId}
Request¶
Headers¶
| Header | Value |
|---|---|
| Access-Token | {access_token} |
| Content-Type | application/json |
Body¶
{
"contact": {
"firstName": "first name",
"lastName": "last name",
"email": null,
"phones": [
"1234567890",
"1234567891"
],
"additionalFields": {
"field name": "field value"
},
"list_ids": [
1,
2,
3
]
}
}
Response (200 OK)¶
{
"result": "Contact created",
"contactId": 123
}
Response (400 Bad Request)¶
{
"result": "Contact not created",
"error": "Bad format for list_ids"
}