AccountRelationship

Represents a relationship of a given type between two accounts.

Introduced in API version 44.0.

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

  • In Digital Experience Settings, turn on the Enable Account Relationships org preference, which is off by default.
  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: ID of the account that gains access to data from AccountTo.
  • Relationship name: AccountFrom
  • Relationship type: relationship
  • Refers to: Account
  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: ID of the account sharing data with AccountFrom.
  • Relationship name: AccountTo
  • Relationship type: relationship
  • Refers to: Account
  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the account relationship.
  • Type: picklist

  • Properties: Create, Filter, Group, Restricted picklist, Sort

  • Description:

    The relationship type. All account relationship sharing rules of that type are to this account relationship.

    Standard values are:

    • System Integrator
    • Agency
    • Advertiser
    • Reseller
    • Distributor
    • Developer
    • Broker
    • Lender
    • Institution
    • Contractor
    • Dealer
    • Consultant
    • Client
    • Vendor
    • Agent
    • Retailer
    • SubContractor
    • Supplier

    Picklist items can be updated with your own values.

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.