---
schema_version: "1"
id: b6bbbfb09ad2093596ddf242f431ebfb92927a440f5213d7e39cde51d336ad5b
title: AssetWarranty
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/automotive_cloud/sforce_api_objects_assetwarranty.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.automotive_cloud.meta/automotive_cloud/sforce_api_objects_assetwarranty.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ba73b0d30aac11a6b4975f3d151749ba08d74c249a4ea074d0654bc6374943af
description: Defines the warranty terms applicable to an asset along with any exclusions and extensions. This object is available in API version 56.0 and later.
---
# AssetWarranty

Defines the warranty terms applicable to an asset along with any exclusions and extensions. 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()

## Special Access Rules

Automotive and Warranty Lifecycle Management must be enabled.

## Fields

### AssetId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The ID of the asset this asset warranty applies to. This field is a relationship field.
- **Relationship Name**: Asset
- **Relationship Type**: Lookup
- **Refers To**: Asset

### AssetWarrantyNumber

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The identifier of the asset warranty record.

### EndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date on which this asset warranty expires.

### ExchangeType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of exchange offered by this asset warranty. Possible values are: Advance Exchange, Loaner, or Return Exchange.

### Exclusions

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: Description of any exclusions.

### ExpensesCovered

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The percentage of expenses covered.

### ExpensesCoveredEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date on which cover for expenses ends.

### IsTransferable

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Indicates whether the asset warranty can be transferred to a new owner (true) or not (false). The default value is false.

### LaborCovered

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The percentage of labor covered.

### LaborCoveredEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date on which cover for labor ends.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date when the asset warranty was last modified.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date when the asset warranty was last viewed.

### PartsCovered

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The percentage of parts covered.

### PartsCoveredEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date on which cover for parts ends.

### Pricebook2Id

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The price book item associated with this asset warranty term. This field is a relationship field.
- **Relationship Name**: Pricebook2
- **Relationship Type**: Lookup
- **Refers To**: Pricebook2

### StartDate

- **Type**: date
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The date on which cover under this asset warranty starts.

### WarrantyTermId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the warranty term this asset warranty term extends. This field is a relationship field.
- **Relationship Name**: WarrantyTerm
- **Relationship Type**: Lookup
- **Refers To**: WarrantyTerm

### WarrantyType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of the asset warranty. Possible values are: Repair, Standard, or Supplier.

## 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.

- [AssetWarrantyFeed](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.
- [AssetWarrantyHistory](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.