Update an association

Changes a link. Send only the fields to change; the others keep their values. Changing account moves the contact to that account. Saving a link also sets the contact's account (orgid and orgname on the contact) and can start automations that run when a contact's account changes. Changing contact does not clear orgid and orgname on the contact that was linked before. Needs permission to edit contacts. PATCH /accountContacts/{id} does the same thing.

Please note that we currently allow single account per contact.

{
	"accountContact": {
		"jobTitle": "Product Manager"
	}
}
{
    "accountContact": {
        "account": "3",
        "contact": "2",
        "jobTitle": "CEO",
        "createdTimestamp": "2019-06-26T11:26:15-05:00",
        "updatedTimestamp": "2019-06-26T11:29:57-05:00",
        "links": {
            "account": "http://hosted.localdev/api/3/accountContacts/19/account",
            "contact": "http://hosted.localdev/api/3/accountContacts/19/contact"
        },
        "id": "19"
    }
}
Path Params
int32
required

ID of the link.

Body Params
accountContact
object

The fields to change.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json