Hello, Im trying to use the PUT (update) a Contact route ( https://developer.constantcontact.com/api_reference/index.html#!/Contacts/putContact ) with no success. Here is the body I'm sending towards the route. {
"contact_id": "********************",
"first_name": "John",
"last_name": "Doe",
"job_title": "",
"company_name": "",
"birthday_month": 11,
"birthday_day": 18,
"update_source": "Contact",
"created_at": "2010-02-20T20:15:28Z",
"updated_at": "2024-06-26T20:04:15Z",
"custom_fields": [
{
"custom_field_id": "********************",
"value": "Some Value"
},
{
"custom_field_id": "********************",
"value": "Some Value"
},
{
"custom_field_id": "********************",
"value": "Some Value"
},
{
"custom_field_id": "********************",
"value": "Some Value"
},
{
"custom_field_id": "********************",
"value": "Some Value"
}
],
"phone_numbers": [],
"street_addresses": [
{
"street_address_id": "********************",
"kind": "test",
"street": "test",
"city": "test",
"state": "test",
"postal_code": "test",
"country": "test",
"created_at": "2014-06-21T22:26:01Z",
"updated_at": "2023-09-28T13:12:39Z"
},
{
"street_address_id": "********************",
"kind": "test",
"city": "test",
"state": "test",
"country": "test",
"created_at": "2014-07-08T18:01:48Z",
"updated_at": "2014-11-11T00:23:48Z"
}
],
"list_memberships": [
"********************",
"********************",
"********************"
],
"email_address": {
"address": "johndoe@test.com"
}
} Now if I don't include the "email_address" field I get as a response: [{"error_key":"contacts.api.validation.error","error_message":"email_address is missing"}] but if I do include it I get: [{"error_key":"contacts.api.conflict","error_message":"Validation failed: Email already exists for contact ************"}] Am I doing something wrong? How do I actually utilize this endpoint. Am I missing something in the body? Thank you.
... View more