v1
latestOpenAPI 3.0.02026-07-26155147.1 KBContacts
Update a contact (Beta)
Updates an existing contact in your EasyBroker account. Only the fields you send are modified. For emails, phones, addresses and tags, the value you send fully replaces the current list — matching entries are preserved, missing entries are removed and new entries are appended (order is ignored). This endpoint is still in beta, please contact our support team if you have any problem or want to share any feedback.
patch/contacts/{contact_id}
Request body
Example request
{
"first_name": "John",
"last_name": "Smith",
"title": "Accountant",
"company": "Smith LLC",
"private_description": "One of our top clients.",
"source": "mywebsite.com",
"agent": "agent@example.com",
"probability": "high",
"tags": [
"priority",
"top_client"
],
"emails": [
{
"type": "Work",
"email": "mail@example.com"
}
],
"phones": [
{
"type": "Mobile",
"phone": "5559090909"
}
],
"addresses": [
{
"type": "Home",
"street": "Main Street 19",
"city": "Portland",
"administrative_division": "Oregon",
"country": "United States of America",
"postal_code": "01234"
}
]
}Response
The contact was updated successfully
Example response
{
"full_name": "John Smith",
"first_name": "John",
"last_name": "Smith",
"title": "Accountant",
"company": "Smith LLC",
"private_description": "One of our top clients.",
"tags": [
"top_client",
"priority"
],
"source": "mywebsite.com",
"probability": "high",
"agent": {
"id": 1234,
"name": "John Smith",
"full_name": "John Smith Doe",
"mobile_phone": "5555550000",
"profile_image_url": "https://www.easybroker.com/assets/product/logo-be4da843987ccd1c05e26f8703f1787847471b36d08bdb1ec8a91ce4007b0e98.svg",
"email": "john@smith.com"
},
"created_at": "2020-03-01T23:26:53.402Z",
"updated_at": "2020-03-01T23:26:53.402Z",
"emails": [
{
"type": "Work",
"email": "mail@example.com"
}
],
"phones": [
{
"type": "Work",
"phone": "5559090909"
}
],
"addresses": [
{
"type": "Work",
"street": "Main Street 19",
"city": "Portland",
"administrative_division": "Oregon",
"country": "United States of America",
"postal_code": "01234"
}
]
}