This method allows you to edit a customer contact method.
/api/v2/contacts/edit_contact_method
contact
- the contact's ID, reference or name (required)method
- the data (or ID) of a customer's contact method (required)method_type
- the type of contact method (email or twitter)data
- the associated data (e.g. the email address or twitter handle)default
- whether or not the contact method should be default or notAn example of a successful update:
{
"id": 1,
"method_type": "email",
"data": "test@atechmedia.com",
"default": true
}
An example of a validation error:
{
"data": [
"is assigned to Agnes Brown"
]
}