---
schema_version: "1"
id: 06c6cf3d8129fe1a9db372c1109e748e176b2baab7c40689004261403dca6a28
title: LeadPreferredSeller
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/automotive_cloud/sforce_api_objects_leadpreferredseller.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.automotive_cloud.meta/automotive_cloud/sforce_api_objects_leadpreferredseller.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3cad5fa92d553acc4e49a9a0540fa8e0b0c3d8d476fc0da76798cc65ce1b22a5
description: Represents the relationship between a lead and the dealer account that the lead selects, or the relationship between a lead and the account that provides the lead. This object is available in API version 56.0 and later.
---
# LeadPreferredSeller

Represents the relationship between a lead and the dealer account that the lead selects, or the relationship between a lead and the account that provides the lead. This object is available in API version 56.0 and later.

## Supported Calls

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

## Fields

### AccountId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The associated Account record. This field is a relationship field.
- **Relationship Name**: Account
- **Relationship Type**: Lookup
- **Refers To**: Account

### AccountRole

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The role of the Account in relation to the associated Lead, such as the Lead's preferred dealer or lead provider. Possible values are:

- Dealer
- LeadProvider—Lead Provider

### ContactId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The associated Contact record. This field is a relationship field.
- **Relationship Name**: Contact
- **Relationship Type**: Lookup
- **Refers To**: Contact

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user referenced this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which a user viewed this record.

### LeadId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The associated Lead record. This field is a relationship field.
- **Relationship Name**: Lead
- **Relationship Type**: Lookup
- **Refers To**: Lead

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the lead preferred seller.

## Associated Objects

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 and later.

- [LeadPreferredSellerChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/sforce_api_associated_objects_change_event.htm): Change events are available for the object.
- [LeadPreferredSellerFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/sforce_api_associated_objects_feed.htm): Feed tracking is available for the object.
- [LeadPreferredSellerHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/sforce_api_associated_objects_history.htm): History is available for tracked fields of the object.