---
schema_version: "1"
id: e3513f8e89c8752ba7b173a5916a933e8e1982da293347e38ac047d3b72f82d7
title: WarrantyTerm
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_warrantyterm.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_warrantyterm.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4b1c463c69a65192d2f3f9ac18eb1fa141d296619d0f6fe5f46d6e74dd85ab7a
description: Represents warranty terms defining the labor, parts, and expenses covered, along with any exchange options, provided to rectify issues with products. This object is available in API version 50.0 and later.
---
# WarrantyTerm

Represents warranty terms defining the labor, parts, and expenses covered, along with any exchange options, provided to rectify issues with products. This object is available in API version 50.0 and later.

## Supported Calls

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

## Fields

| Field | Details |
| --- | --- |
| Code | 
Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

A code or other identifier associated with this warranty term.



 |
| Description | 

Type

textarea

Properties

Create, Nillable, Update

Description

Description of the warranty term.



 |
| EffectiveStartDate | 

Type

picklist

Properties

Create, Filter, Group, Sort, Update

Description

Date on which the warranty term became available for use.

Possible values are:

- InstallDate
- ManufactureDate
- PurchaseDate





 |
| ExchangeType | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The type of exchange offered.

Possible values are:

- AdvanceExchange
- Loaner
- ReturnExchange





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



 |
| ExpensesCoveredDuration | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The duration for which expenses are covered.



 |
| ExpensesCoveredUnitOfTime | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The unit in which expenses covered duration is measured.

Possible values are:

- Days
- Months
- Weeks
- Years





 |
| IsActive | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Defines whether the warranty term is active.



 |
| IsTransferable | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Defines whether the warranty can be transferred to a new owner.



 |
| LaborCovered | 

Type

percent

Properties

Create, Filter, Nillable, Sort, Update

Description

The percentage of labor covered.



 |
| LaborCoveredDuration | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The duration for which labor is covered.



 |
| LaborCoveredUnitOfTime | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The unit in which labor covered duration is measured.

Possible values are:

- Days
- Months
- Weeks
- Years





 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the warranty term was last modified. Its label in the user interface is Last Modified Date.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the warranty term was last viewed.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The warranty term’s assigned owner.



 |
| PartsCovered | 

Type

percent

Properties

Create, Filter, Nillable, Sort, Update

Description

The percentage of parts covered.



 |
| PartsCoveredDuration | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The duration for which parts are covered.



 |
| PartsCoveredUnitOfTime | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The unit in which parts covered duration is measured.

Possible values are:

- Days
- Months
- Weeks
- Years





 |
| Pricebook2Id | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the price book item associated with this warranty term.



 |
| WarrantyDuration | 

Type

int

Properties

Create, Filter, Group, Sort, Update

Description

The duration of the warranty offered by this term.



 |
| WarrantyTermName | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

The name of the warranty term.



 |
| WarrantyType | 

Type

picklist

Properties

Create, Filter, Group, Sort, Update

Description

The type of warranty.

Possible values are:

- Repair
- Standard
- Supplier





 |
| WarrantyUnitOfTime | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

The unit in which the warranty duration is measured.

Possible values are:

- Days
- Months
- Weeks
- Years





 |

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

[WarrantyTermChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.