Newer Version Available
AccountRelationship
Represents a relationship of a given type between two accounts.
This object is available in API version 45.0 and later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
Special Access Rules
In Digital Experience Settings, turn on the Enable Account Relationships org preference, which is off by default.
Fields
| Field | Details |
|---|---|
| AccountFromID |
|
| AccountToId |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| Name |
|
| OwnerId |
|
| Type |
|
Associated Objects
This object has the following associated objects. Unless noted, they are available in the same API version as this object.
- AccountRelationshipFeed
- Feed tracking is available for the object.
- AccountRelationshipHistory
- History is available for tracked fields of the object.
- AccountRelationshipOwnerSharingRule
- Sharing rules are available for the object.
- AccountRelationshipShare
- Sharing is available for the object.