This method allows you to adjust contact properties for contacts which already exist in your database.
/api/v2/contacts/edit
contact
- this is the name, ID or reference for a contact (required)name
- the contact's namereference
- the contact's reference (must be unique or blank)company
- the name for the contact (optional)pin
- the contact's support PINsla
- the ID or name of an SLA to use for all tickets submitted by this contact (optional)priority
- the ID or name of a priority to use for all tickets submitted by this contact (optional)If the record is saved successfully, you will receive a 200 OK
status with details of the contact. If a validation error occurs you will receive a 422 Unprocessable Entity
and data containing the errors.
{
"id": 8,
"reference": "SS2",
"name": "Steve Jones",
"abbreviated_name": "Steve J",
"company": "Steve's Pies",
"pin": "221520",
"created_at": "2012-03-21T16:51:52Z"
}