Account
Represents an individual account, which is an organization or person involved with your business (such as customers, competitors, and partners).
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), merge(), query(), retrieve(), search(), undelete(), update(), upsert()
- Experience Cloud site or Customer Portal users can access their own accounts and any account shared with them.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Account number assigned to this account (not the unique, system-generated ID assigned during creation). Maximum size is 40 characters.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 61.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 24.0
- Description: The source of the account record. For example,
AdvertisementorTrade Show. The source is selected from a picklist of available values, which are set by an administrator. Each picklist value can have up to 40 characters.
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description:
When Einstein Activity Capture with Activity Metrics is enabled, the ID of the related activity metric.
This field is a relationship field.
-
Relationship name: ActivityMetric
-
Relationship type: relationship
-
Refers to: ActivityMetric
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description:
When Einstein Activity Capture with Activity Metrics is enabled, the ID of the related activity metric rollup.
This field is a relationship field.
-
Relationship name: ActivityMetricRollup
-
Relationship type: relationship
-
Refers to: ActivityMetricRollup
- Type: currency
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Estimated annual revenue of the account.
- Type: address
- Properties: Filter, Nillable
- Description: The compound form of the billing address. Read-only. For details on compound address fields, see Address Compound Fields.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address of this account. Maximum size is 40 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address of this account. Maximum size is 80 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO country code for the account’s billing address.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Accuracy level of the geocode for the billing address. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
BillingLongitudeto specify the precise geolocation of a billing address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
BillingLatitudeto specify the precise geolocation of a billing address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. See Compound Field Considerations and Limitations for details on geolocation compound fields.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address of this account. Maximum size is 20 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details for the billing address of this account. Maximum size is 80 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO state code for the account’s billing address.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Street address for the billing address of this account.
- Type: string
- Properties: Group, Nillable
- Introduced: API version 43.0
- Description: Read only. Name of the channel program level the account has enrolled. If this account has enrolled more than one channel program level, the oldest channel program name is displayed.
- Type: string
- Properties: Group, Nillable
- Introduced: API version 43.0
- Description: Read only. Name of the channel program the account has enrolled. If this account has enrolled more than one channel program, the oldest channel program name is displayed.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 25.0
- Description: Indicates the record’s clean status as compared with Data.com..
- Possible values:
- Acknowledged — Acknowledged
- Different — Different
- Inactive — Inactive
- Matched — Matched — The label on the account record detail page is
In Sync. - NotFound — NotFound
- Pending — Pending
- SelectMatch — SelectMatch
- Skipped — Skipped
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 67.0
- Description: The external Commerce ID of the individual. To update or create field values, you need the Manage Shopper Profile Sync System Fields user permission.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 67.0
- Description: The external name of the Commerce customer group. To update or create field values, you need the Manage Shopper Profile Sync System Fields user permission.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 67.0
- Description: The external organization ID of the Commerce instance. To update or create field values, you need the Manage Shopper Profile Sync System Fields user permission.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 12.0
- Description: ID of the PartnerNetworkConnection that shared this record with your organization. This field is available if you enabled Salesforce to Salesforce.
- Relationship name: ConnectionReceived
- Relationship type: relationship
- Refers to: PartnerNetworkConnection
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 12.0
- Description: ID of the PartnerNetworkConnection that you shared this record with. This field is available if you enabled Salesforce to Salesforce. This field is supported using API versions earlier than 15.0. In all other API versions, this field’s value is null. You can use the new PartnerNetworkRecordConnection object to forward records to connections.
- Relationship name: ConnectionSent
- Relationship type: relationship
- Refers to: PartnerNetworkConnection
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 25.0
-
Relationship name: DandbCompany
-
Relationship type: relationship
-
Refers to: DandBCompany
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Text description of the account. Limited to 32,000 KB.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 24.0
-
Description: The Data Universal Numbering System (D-U-N-S) number is a unique, nine-digit number assigned to every business location in the Dun & Bradstreet database that has a unique, separate, and distinct operation. D-U-N-S numbers are used by industries and organizations around the world as a global standard for business identification and tracking. Maximum size is 9 characters. This field is available on business accounts, not person accounts.
This field is only available to organizations that use Data.com Prospector or Data.com Clean.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 61.0
- Type: phone
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Fax number for the account.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: First name of the person for a person account. Maximum size is 40 characters.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 61.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 42.0
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort
-
Introduced: API version 57.0
-
Default value: false
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: An industry associated with this account. For example,
Biotechnology. Maximum size is 40 characters.
- Type: string
- Properties: Create, Nillable, Update
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 62.0
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort
-
Introduced: API version 46.0
-
Description: Indicates that the account is enabled as a buyer for Lightning B2B Commerce. The default value is
false. -
Default value: false
This field is only available to organizations that have the B2B Commerce license enabled.
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 9.0
-
Description:
Indicates whether the account has at least one contact enabled to use the org’s Experience Cloud site or Customer Portal (
true) or not (false). This field is available if Customer Portal is enabled OR digital experiences is enabled.If your org is enabled to use Content Security Policy (CSP) features, then this field is visible on the Account object even if those features are later disabled.
If you change this field’s value from
truetofalse, you can disable up to 100 Experience Cloud site or Customer Portal users associated with the account and permanently delete all of the account’s site roles and groups. You can’t restore deleted site roles and groups.Exclude this field when merging accounts.
This field can be updated in API version 16.0 and later.
-
Default value: false
We recommend that you update up to 50 contacts simultaneously when changing the accounts on contacts enabled for an Experience Cloud site. We also recommend that you make this update after business hours.
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 7.0
-
Default value: false
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 8.0
-
Description:
Indicates whether the account has at least one contact enabled to use the org’s partner portal (
true) or not (false). This field is available if partner relationship management (partner portal) is enabled OR digital experiences is enabled and you have partner portal licenses.If you change this field’s value from
truetofalse, you can disable up to 15 partner portal users associated with the account and permanently delete all of the account’s partner portal roles and groups. You can’t restore deleted partner portal roles and groups.Disabling a partner portal user in the Salesforce user interface or the API doesn’t change this field’s value from
truetofalse.Even if this field’s value is
false, you can enable a contact on an account as a partner portal user via the API.Exclude this field when merging accounts.
This field can be updated in API version 16.0 and later.
-
Default value: false
We recommend that you update up to 50 contacts simultaneously when changing the accounts on contacts enabled for an Experience Cloud site. We also recommend that you make this update after business hours.
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 8.0
- Description: Read only. Label is Is Person Account. Indicates whether this account has a record type of Person Account (
true) or not (false). - Default value: false
- Type: boolean
- Properties: Defaulted on create, Group
- Introduced: API version 60.0
- Description: Shows whether the user has marked the account as important (
True) or not (False). The default value isfalse. - Default value: false
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 22.0
-
Description: References the ID of a company in Data.com. If an account has a value in this field, it means that the account was imported from Data.com. If the field value is
null, the account was not imported from Data.com. Maximum size is 20 characters. Label is Data.com Key. This field is available on business accounts, not person accounts.The
Jigsawfield is exposed in the API to support troubleshooting for import errors and reimporting of corrected data. Do not modify the value in theJigsawfield.
-
Type: string
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 23.0
-
Description: The ID of the company in reference to
Jigsaw.The
Jigsawfield is exposed in the API to support troubleshooting for import errors and reimporting of corrected data. Don’t modify the value in theJigsawfield.
-
Type: date
-
Properties: Filter, Group, Nillable, Sort
-
Description:
Value is one of the following, whichever is the most recent:
- Due date of the most recent event logged against the record.
- Due date of the most recently closed task associated with the record.
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: Last name of the person for a person account. Required if the record type is a person account record type. Maximum size is 80 characters.
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 8.0
-
Description:
If this object was deleted as the result of a merge, this field contains the ID of the record that was kept. If this object was deleted for any other reason, or has not been deleted, the value is
null.This is a relationship field.
-
Relationship name: MasterRecord
-
Relationship type: relationship
-
Refers to: Account
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Middle name of the person for a person account. Maximum size is 40 characters.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 24.0
-
Description: The six-digit North American Industry Classification System (NAICS) code is the standard used by business and government to classify business establishments into industries, according to their economic activity for the purpose of collecting, analyzing, and publishing statistical data related to the U.S. business economy. Maximum size is 8 characters. This field is available on business accounts, not person accounts.
This field is only available to organizations that use Data.com Prospector or Data.com Clean.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 24.0
-
Description: A brief description of an org’s line of business, based on its NAICS code. Maximum size is 120 characters. This field is available on business accounts, not person accounts.
This field is only available to organizations that use Data.com Prospector or Data.com Clean.
-
Type: string
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
Required. Label is Account Name. Name of the account. Maximum size is 255 characters. If the account has a record type of Person Account:
- This value is the concatenation of the
FirstName,MiddleName,LastName, andSuffixof the associated person contact. - You can’t modify this value.
- This value is the concatenation of the
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Label is Employees. Number of employees working at the company represented by this account. Maximum size is eight digits.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 38.0
-
Description:
The operating hours associated with the account. Available only if Field Service is enabled.
This is a relationship field.
-
Relationship name: OperatingHours
-
Relationship type: relationship
-
Refers to: OperatingHours
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Ownership type for the account, for example Private, Public, or Subsidiary.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
ID of the parent object, if any.
This is a relationship field.
-
Relationship name: Parent
-
Relationship type: relationship
-
Refers to: Account
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 47.0
-
Description:
The ID of the sales rep designated to work the lead through their assigned cadence. when the Sales Engagement license is enabled. To see this field, the user also needs the Sales Engagement User or Sales Engagement Quick Cadence Creator user permission set.
This field is a polymorphic relationship field.
-
Relationship name: PersonActionCadenceAssignee
-
Relationship type: polymorphic
-
Refers to: Queue, User
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 46.0
-
Description:
The ID of the lead’s assigned cadence. when the Sales Engagement license is enabled. To see this field, the user also needs the Sales Engagement User or Sales Engagement Quick Cadence Creator user permission set.
This is a relationship field.
-
Relationship name: PersonActionCadence
-
Relationship type: relationship
-
Refers to: ActionCadence
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 50.0
- Description: The state of the current action cadence tracker. when the Sales Engagement license is enabled. To see this field, the user also needs the Sales Engagement User or Sales Engagement Quick Cadence Creator user permission set.
- Possible values:
- Complete — Complete
- Error — Error
- Initializing — Initializing
- Paused — Paused
- Processing — Processing
- Running — Running
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 57.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: The person account’s assistant name. Label is Assistant. Maximum size is 40 characters.
- Type: phone
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: The person account’s assistant phone. Label is Asst. Phone. Maximum size is 40 characters.
-
Type: date
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 8.0
-
Description:
The birthday of the contact associated with this person account. Label is Birthdate. The year portion of the
PersonBirthDatefield is ignored in filter criteria, including report filters, list view filters, and SOQL queries. For example, the following SOQL query returns person accounts with birthdays later in the year than today:
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 8.0
- Description: The ID for the contact associated with this person account. Label is Contact ID.
- Relationship name: PersonContact
- Relationship type: relationship
- Refers to: Contact
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: The department. Label is Department. Maximum size is 80 characters.
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 8.0
-
Default value: false
- Type: email
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: Email address for this person account. Label is Email.
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 13.0
- Description: If bounce management is activated and an email sent to the person account bounces, the date and time the bounce occurred.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 13.0
- Description: If bounce management is activated and an email sent to the person account bounces, the reason the bounce occurred
- Type: datetime
- Properties: Filter, Nillable, Sort
- Introduced: API version 48.0
- Type: datetime
- Properties: Filter, Nillable, Sort
- Introduced: API version 48.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 57.0
- Description: The person’s internal experience of their gender, which may or may not correspond to the person’s designated sex at birth. Label is Gender Identity.
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Introduced: API version 8.0
- Description: Indicates whether the person account has opted out of email (
true) or not (false). Label is Email Opt Out. - Default value: false
-
Type: boolean
-
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Introduced: API version 8.0
-
Default value: false
- Type: phone
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: The home phone number for this person account. Label is Home Phone.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 42.0
- Description: ID of the data privacy record associated with this person’s account. This field is available if you enabled Data Protection and Privacy in Setup.
- Relationship name: PersonIndividual
- Relationship type: relationship
- Refers to: Individual
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 31.0
- Type: datetime
- Properties: Filter, Nillable, Sort
- Introduced: API version 8.0
- Type: datetime
- Properties: Filter, Nillable, Sort
- Introduced: API version 8.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: The person account’s lead source. Label is Lead Source.
- Type: address
- Properties: Filter, Nillable
- Introduced: API version 8.0
- Description: The compound form of the person account mailing address. Read-only. For details on compound address fields, see Address Compound Fields.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details about the mailing address for this person account. Labels are Mailing City, Mailing Country, Postal Code, and State. Maximum size for city and country is 40 characters. Maximum size for postal code and state is 20 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details about the mailing address for this person account. Labels are Mailing City, Mailing Country, Postal Code, and State. Maximum size for city and country is 40 characters. Maximum size for postal code and state is 20 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO country or state code for the mailing address of the person account.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Accuracy level of the geocode for the person’s mailing address. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
PersonMailingLongitudeto specify the precise geolocation of a person account’s mailing address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
PersonMailingLatitudeto specify the precise geolocation of a person account’s mailing address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details about the mailing address for this person account. Labels are Mailing City, Mailing Country, Postal Code, and State. Maximum size for city and country is 40 characters. Maximum size for postal code and state is 20 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details about the mailing address for this person account. Labels are Mailing City, Mailing Country, Postal Code, and State. Maximum size for city and country is 40 characters. Maximum size for postal code and state is 20 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO country or state code for the mailing address of the person account.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The mailing street address for this person account. Label is Mailing Street. Maximum size is 255 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 31.0
- Type: phone
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: The mobile phone number for this person account. Label is Mobile.
- Type: address
- Properties: Filter, Nillable
- Introduced: API version 8.0
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details about the alternate address for this person account. Labels are Other City, Other Country, Other Zip/Postal Code, and Other State.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details about the alternate address for this person account. Labels are Other City, Other Country, Other Zip/Postal Code, and Other State.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO country or state code for the alternate address of the person account.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
PersonOtherLongitudeto specify the precise geolocation of a person account’s alternate address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
PersonOtherLatitudeto specify the precise geolocation of a person account’s alternate address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: phone
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: The alternate phone number for this person account. Label is Other Phone.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details about the alternate address for this person account. Labels are Other City, Other Country, Other Zip/Postal Code, and Other State.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details about the alternate address for this person account. Labels are Other City, Other Country, Other Zip/Postal Code, and Other State.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO country or state code for the alternate address of the person account.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The person account’s alternate street address. Label is Other Street.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 57.0
- Description: The individual’s personal pronouns, reflecting their gender identity. Others can use these pronouns to refer to the individual in the third person. The entry is selected from a picklist of available values, which the administrator sets. Maximum 40 characters. Label is Pronouns.
- Possible values:
- He/Him — He/Him
- He/They — He/They
- Not Listed — Not Listed
- She/Her — She/Her
- She/They — She/They
- They/Them — They/Them
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 62.0
-
Description:
ID of the person account or contact that this person account reports to.
This field doesn’t appear if
enableReportsToOnPersonAccountin the AccountSettings metadata type isfalse.This is a relationship field.
-
Relationship name: PersonReportsTo
-
Relationship type: relationship
-
Refers to: Contact
- Type: datetime
- Properties: Filter, Nillable, Sort
- Introduced: API version 54.0
- Description: The date and time when the action cadence tracker is going to resume after it’s paused or on a wait step. when the Sales Engagement license is enabled. To see this field, the user also needs the Sales Engagement User or Sales Engagement Quick Cadence Creator user permission set.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 8.0
- Description: The person account’s title. Label is Title. Maximum size is 80 characters. When converting a lead to a person account, the conversion fails if the lead’s Title field contains more than 80 characters.
- Type: phone
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Phone number for this account. Maximum size is 40 characters.
-
Type: url
-
Properties: Filter, Group, Nillable, Sort
-
Introduced: API version 30.0
-
Description:
Path to be combined with the URL of a Salesforce instance (for example, https://
yourInstance.salesforce.com/) to generate a URL to request the social network profile image associated with the account. Generated URL returns an HTTP redirect (code 302) to the social network profile image for the account.Blank if Social Accounts and Contacts isn’t enabled for the org or if Social Accounts and Contacts is disabled for the requesting user.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The account’s prospect rating, for example Hot, Warm, or Cold.
- Type: picklist
- Properties: Filter, Group, Nillable, Restricted picklist, Sort
- Introduced: API version 17.0
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Honorific added to the name for use in letters, etc. This field is available on person accounts.
- Type: address
- Properties: Filter, Nillable
- Description: The compound form of the shipping address. Read-only. See Address Compound Fields for details on compound address fields.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details of the shipping address for this account. City maximum size is 40 characters
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details of the shipping address for this account. Country maximum size is 80 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO country code for the account’s shipping address.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Accuracy level of the geocode for the shipping address. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
ShippingLongitudeto specify the precise geolocation of a shipping address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Used with
ShippingLatitudeto specify the precise geolocation of an address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details of the shipping address for this account. Postal code maximum size is 20 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Details of the shipping address for this account. State maximum size is 80 characters.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ISO state code for the account’s shipping address.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The street address of the shipping address for this account. Maximum of 255 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Standard Industrial Classification code of the company’s main business categorization, for example, 57340 for Electronics. Maximum of 20 characters. This field is available on business accounts, not person accounts.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 24.0
- Description: A brief description of an org’s line of business, based on its SIC code. Maximum length is 80 characters. This field is available on business accounts, not person accounts.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Name of the account’s location, for example
HeadquartersorLondon. Label is Account Site. Maximum of 80 characters.
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Name suffix of the person for a person account. Maximum size is 40 characters.
- Type: string
- Properties: Create, Update
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The stock market symbol for this account. Maximum of 20 characters. This field is available on business accounts, not person accounts.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 53.0
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 24.0
-
Description: A name, different from its legal name, that an org may use for conducting business. Similar to “Doing business as” or “DBA”. Maximum length is 255 characters. This field is available on business accounts, not person accounts.
This field is only available to organizations that use Data.com Prospector or Data.com Clean.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Type of account, for example, Customer, Competitor, or Partner.
- Type: url
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The website of this account. Maximum of 255 characters.
-
Type: string
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Introduced: API version 24.0
-
Description: The date when an org was legally established. Maximum length is 4 characters. This field is available on business accounts, not person accounts.
This field is only available to organizations that use Data.com Prospector or Data.com Clean.
These fields are the subset of person account fields that are contained in the child person contact record of each person account. If the IsPersonAccount field has the value false, the following fields have a null value and can’t be modified. If true, the fields can be modified.
Person account fields only show when person accounts are enabled. Person accounts are disabled by default.
| Field Name | Details |
|---|---|
FirstName | - Type: string - Properties: Create, Filter, Group, Nillable, Sort, Update - Description: First name of the person for a person account. Maximum size is 40 characters. |
LastName | - Type: string - Properties: Create, Filter, Group, Nillable, Sort, Update - Description: Last name of the person for a person account. Required if the record type is a person account record type. Maximum size is 80 characters. |
MiddleName | - Type: string - Properties: Create, Filter, Group, Nillable, Sort, Update - Description: Middle name of the person for a person account. Maximum size is 40 characters. |
PersonAssistantName | - Type: string - Properties: Create, Filter, Nillable, Update - Description: The person account’s assistant name. Label is Assistant. Maximum size is 40 characters. |
PersonAssistantPhone | - Type: phone - Properties: Create, Filter, Nillable, Update - Description: The person account’s assistant phone. Label is Asst. Phone. Maximum size is 40 characters. |
PersonBirthDate | - Type: date - Properties: Create, Filter, Nillable, Update - Description: The birthday of the contact associated with this person account. Label is Birthdate. The year portion of the PersonBirthDate field is ignored in filter criteria, including report filters, list view filters, and SOQL queries. For example, the following SOQL query returns person accounts with birthdays later in the year than today: SELECT FirstName, LastName, PersonBirthDate FROM Account WHERE Birthdate > TODAY |
PersonContactId | - Type: reference - Properties: Filter, Nillable, Update - Description: The ID for the contact associated with this person account. Label is Contact ID. |
PersonDepartment | - Type: string - Properties: Create, Filter, Nillable, Update - Description: The department. Label is Department. Maximum size is 80 characters. |
PersonEmail | - Type: email - Properties: Create, Filter, Nillable, Update - Description: Email address for this person account. Label is Email. |
PersonEmailBouncedDate | - Type: dateTime - Properties: Create, Filter, Nillable, Update - Description: If bounce management is activated and an email sent to the person account bounces, the date and time the bounce occurred. |
PersonEmailBouncedReason | - Type: string - Properties: Create, Filter, Nillable, Update - Description: If bounce management is activated and an email sent to the person account bounces, the reason the bounce occurred |
PersonGenderIdentity | - Type: picklist - Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update - Description: The person’s internal experience of their gender, which may or may not correspond to the person’s designated sex at birth. Label is Gender Identity. |
PersonHasOptedOutOfEmail | - Type: boolean - Properties: Create, Filter, Nillable, Update - Description: Indicates whether the person account has opted out of email (true) or not (false). Label is Email Opt Out. |
PersonHomePhone | - Type: phone - Properties: Create, Filter, Nillable, Update - Description: The home phone number for this person account. Label is Home Phone. |
PersonLeadSource | - Type: picklist - Properties: Create, Filter, Nillable, Update - Description: The person account’s lead source. Label is Lead Source. |
PersonMailingAddress | - Type: address - Properties: Filter, Nillable - Description: The compound form of the person account mailing address. Read-only. For details on compound address fields, see Address Compound Fields. |
| - Type: string - Properties: Create, Filter, Nillable, Update - Description: Details about the mailing address for this person account. Labels are Mailing City, Mailing Country, Postal Code, and State. Maximum size for city and country is 40 characters. Maximum size for postal code and state is 20 characters. |
| - Type: picklist - Properties: Create, Filter, Group, Nillable, Sort, Update - Description: The ISO country or state code for the mailing address of the person account. |
PersonMailingGeocodeAccuracy | - Type: picklist - Properties: Retrieve, Query, Restricted picklist, Nillable - Description: Accuracy level of the geocode for the person’s mailing address. For details on geolocation compound fields, see Compound Field Considerations and Limitations. |
PersonMailingLatitude | - Type: double - Properties: Create, Filter, Nillable, Sort, Update - Description: Used with PersonMailingLongitude to specify the precise geolocation of a person account’s mailing address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations. |
PersonMailingLongitude | - Type: double - Properties: Create, Filter, Nillable, Sort, Update - Description: Used with PersonMailingLatitude to specify the precise geolocation of a person account’s mailing address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations. |
PersonMailingStreet | - Type: textarea - Properties: Create, Filter, Nillable, Update - Description: The mailing street address for this person account. Label is Mailing Street. Maximum size is 255 characters. |
PersonMobilePhone | - Type: phone - Properties: Create, Filter, Nillable, Update - Description: The mobile phone number for this person account. Label is Mobile. |
| - Type: string - Properties: Create, Filter, Nillable, Update - Description: Details about the alternate address for this person account. Labels are Other City, Other Country, Other Zip/Postal Code, and Other State. |
| - Type: picklist - Properties: Create, Filter, Group, Nillable, Sort, Update - Description: The ISO country or state code for the alternate address of the person account. |
PersonOtherLatitude | - Type: double - Properties: Create, Filter, Nillable, Sort, Update - Description: Used with PersonOtherLongitude to specify the precise geolocation of a person account’s alternate address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations. |
PersonOtherLongitude | - Type: double - Properties: Create, Filter, Nillable, Sort, Update - Description: Used with PersonOtherLatitude to specify the precise geolocation of a person account’s alternate address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. For details on geolocation compound fields, see Compound Field Considerations and Limitations. |
PersonOtherPhone | - Type: phone - Properties: Create, Filter, Nillable, Update - Description: The alternate phone number for this person account. Label is Other Phone. |
PersonOtherStreet | - Type: textarea - Properties: Create, Filter, Nillable, Update - Description: The person account’s alternate street address. Label is Other Street. |
PersonPronouns | - Type: picklist - Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update - Description: The individual’s personal pronouns, reflecting their gender identity. Others can use these pronouns to refer to the individual in the third person. The entry is selected from a picklist of available values, which the administrator sets. Maximum 40 characters. Label is Pronouns. Possible values are:
|
PersonReportsToId | - Type: reference - Properties: Create, Filter, Group, Nillable, Sort Update - Description: ID of the person account or contact that this person account reports to. This field doesn’t appear if enableReportsToOnPersonAccount in the AccountSettings metadata type is false. Available in API version 62.0 and later. This is a relationship field. - Relationship Name: PersonReportsTo - Relationship Type: Lookup - Refers To: Contact |
PersonTitle | - Type: string - Properties: Create, Filter, Nillable, Update - Description: The person account’s title. Label is Title. Maximum size is 80 characters. When converting a lead to a person account, the conversion fails if the lead’s Title field contains more than 80 characters. |
Suffix | - Type: string - Properties: Create, Filter, Group, Nillable, Sort, Update - Description: Name suffix of the person for a person account. Maximum size is 40 characters. |
When importing account data, users need the Set Audit Fields upon Record Creation permission to assign values to audit fields such as CreatedDate. Audit fields are automatically updated during API operations unless you set these fields yourself.
Use this object to query and manage accounts in your org. Client applications can create, update, delete, or query Attachment records associated with an account via the API.
Client applications can also create or update account objects by converting a Lead via the convertLead() call.
If the values in the IsPersonAccount Fields are not null, you can’t change IsPersonAccount to false or an error occurs.
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.
-
AccountChangeEvent: Introduced in API version 44.0.
-
AccountFeed: Introduced in API version 18.0.
-
AccountHistory: Introduced in API version 11.0.