Relationships allow you to link two contacts/companies together. They're useful for tracking things like family relationships, referrals, etc. Each relationship can have a note attached to explain the nature of the relationship.
Relationships are shown on both contact records so you can easily click back-and-forth between the contacts in the relationship.
If you have a more structured type of relationship you want to track for a lot of your contacts, you might consider using a customer "contact link" field instead. Relationships are good for making arbitrary links between contacts on the fly, while contact link fields are better for collecting structured data.
This function creates a new relationship between two contacts or companies.
The Id of the first contact or company in the relationship. Relationships are bi-directional,
so it doesn't matter which is ContactId1
and which one is ContactId2
.
The Id of the first contact or company in the relationship. Relationships are bi-directional,
so it doesn't matter which is ContactId1
and which one is ContactId2
.
A note to describe the nature of the relationship. This can be as long as you want, but only a small snippet is displayed by default on the contact records.
This function edits an existing relationship. You cannot change which contacts or companies are involved in the relationship, so if you need to do that, you should delete the existing relationship and create a new one.
This function deletes an existing relationship.
The id of the relationship you want to delete.
This function gets information about a single relationship. In most cases, you probably want to use
GetRelationshipsAttachedToContacts
instead.
The id of the relationship you want to get.
This function returns all of the relationships for a specific contact. Relationships are bi-directional, so this will include relationships where the contact is listed as Contact1 or Contact2.
The id of the contact whose relationships you want to get.
How many results should be returned from a single API call? The max value is 10,000. If you need to return
more results, call this API function again, but increment the Page
parameter.
If there are more results than MaxNumberOfResults
, you can call this function again with an incremented
Page
value to get the next page of results. For example, if there are 700 results, but you're only requesting
500 at a time, you could call this function with Page=2 to get the remaining 200 results.