latestSwagger 2.02026-08-101561322.2 MB
3e4029d19684
Contacts
Edit a contact
<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Contacts/updateContact" target="_blank">Try in sandbox</a><br>
put/api/v2/contacts/{id}/normalized
Path parameters
idinteger required
Request body
Example request
{
"firstName": "Example first name",
"lastName": "Example first name",
"email": "charles@example.com",
"companyName": "My pretty company",
"lists": "10541,18599",
"type": 1,
"customFieldValues": [
{
"id": 515,
"userCustomFieldId": 515,
"name": "Custom name",
"value": "Custom value",
"createdAt": "2015-02-11T07:33:19+0000"
}
],
"country": "US",
"tags": [
23,
45
],
"owner": 2
}Response
The contact has been created with success.
Example response
{
"id": 515,
"href": "/api/v2/entity_name/1"
}