v1
latestOpenAPI 3.1.02026-07-12103663.1 KBContacts
Update Contact (early access)
patch/unified/crm/contacts/{id}
Path parameters
idstring required
Headers
x-account-idstring required
The account identifier
Preferstring
Example:heartbeat
Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)
Request body
Example request
{
"first_name": "Steve",
"last_name": "Wozniak",
"company_name": "Apple Inc.",
"emails": [
"steve@apple.com"
],
"phone_numbers": [
"123-456-7890"
],
"deal_ids": [
"deal-001",
"deal-002"
],
"account_ids": [
"account-123",
"account-456"
],
"custom_fields": [
{
"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"name": "Training Completion Status",
"value_id": "value_456",
"remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"
}
],
"passthrough": {
"other_known_names": "John Doe"
}
}Response
The contact was successfully updated.
Example response
{
"data": {
"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"unified_custom_fields": {
"my_project_custom_field_1": "REF-1236",
"my_project_custom_field_2": "some other value"
},
"first_name": "Steve",
"last_name": "Wozniak",
"company_name": "Apple Inc.",
"emails": [
"steve@apple.com"
],
"phone_numbers": [
"123-456-7890"
],
"deal_ids": [
"deal-001",
"deal-002"
],
"remote_deal_ids": [
"e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"e3cb75bf-aa84-466e-a6c1-b8322b257a49"
],
"account_ids": [
"account-123",
"account-456"
],
"remote_account_ids": [
"e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"e3cb75bf-aa84-466e-a6c1-b8322b257a49"
],
"custom_fields": [
{
"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"name": "Training Completion Status",
"value_id": "value_456",
"remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"
}
],
"created_at": "2021-01-01T01:01:01.000Z",
"updated_at": "2021-01-01T01:01:01.000Z"
}
}