Update contact
Update a contact.
Update a contact
PUT
https://{{account_id}}.acquire.io/api/v1/crm/objects/contact/{{contactId}}
Update data for a single customer. The contactId must be passed in to the endpoint as a path parameter.
Path Parameters
Name
Type
Description
contactId*
integer
ID of a contact.
Headers
Name
Type
Description
Authorization*
string
Bearer {{api_key}}
Request Body
Name
Type
Description
phone
string
Contact's phone
string
Contact's email
name
string
Contact's name
fields
object
field object
{
"data": {
"dateCreated": "string",
"dateUpdated": "string",
"id": 2,
"clientType": "web",
"clientName": "Chrome",
"clientVersion": "81.0",
"clientOsName": "Windows",
"clientOsVersion": "10",
"clientDeviceType": null,
"clientDeviceVendor": null,
"clientDeviceModel": null,
"clientDetails": {},
"archive": "no",
"companyId": 5,
"fields": {
"name": "John Deo",
"email": "[email protected]",
"phone": "9460731950",
"city": "San Francisco",
"state": "California",
"country": {
"name": "United States",
"name_official": "United States of America",
"cca2": "US",
"ccn3": "84",
"cca3": "USA",
"calling_code1": 1,
"region_id": 496,
"lat": "38",
"lng": "-97",
"voip_enable": true
},
"countryId": "517",
"ip": "103.61.112.45"
}
}
}
Body (raw)
{
"fields": {
"name": "John Deo",
"email": "[email protected]",
"phone": "9460731950",
"city": "San Francisco",
"state": "California",
"countryId": "517",
"ip": "103.61.112.45"
},
"dateCreated": "string",
"dateUpdated": "string",
"clientType": "web",
"clientName": "Chrome",
"clientVersion": "81.0",
"clientOsName": "Windows",
"clientOsVersion": "10",
"clientDeviceType": null,
"clientDeviceVendor": null,
"clientDeviceModel": null,
"clientDetails": {}
}
Last updated