---
schema_version: "1"
id: b923eb42fee39725dbab9bf42271615b65ebeaf28c73312a11e6f490c1f93fc6
title: ProductRequest
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_productrequest.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_productrequest.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fa78d153d63984cfbb78093554547151b88ef290fff53815f91645b45f127e83
description: Represents an order for a part or parts in field service.
---
# ProductRequest

Represents an order for a part or parts in field service.

## Supported Calls

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

## Special Access Rules

Field Service must be enabled.

Authenticated external users can create and update ProductRequest objects.

## Fields

| Field Name | Details |
| --- | --- |
| AccountId | 
Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The account associated with the product request.

This is a relationship field.

Relationship Name

Account

Relationship Type

Lookup

Refers To

Account



 |
| CaseId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The case associated with the product request.

This is a relationship field.

Relationship Name

Case

Relationship Type

Lookup

Refers To

Case



 |
| CurrencyIsoCode | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Available only if the multicurrency feature is enabled. Contains the ISO code for any currency allowed by the organization. The label in the user interface is Currency ISO Code.



 |
| Description | 

Type

textarea

Properties

Create, Nillable, Update

Description

A text field for details not recorded in the provided fields.



 |
| DestinationLocationId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Where the product is delivered.

This is a relationship field.

Relationship Name

DestinationLocation

Relationship Type

Lookup

Refers To

Location



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the product request 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 product request was last viewed.



 |
| NeedByDate | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

Date the product must be delivered by.



 |
| OwnerId | 

Type

reference

Properties

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

Description

The owner of the shipment.

This is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| ProductRequestNumber | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

An auto-assigned number that identifies the shipment.



 |
| ShipToAddress | 

Type

address

Properties

Filter, Nillable

Description

The address that the product is to be delivered to.



 |
| ShipToCity | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The city that the product is to be delivered to.



 |
| ShipToCountry | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The country that the product is to be delivered to.



 |
| ShipToCountryCode | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

A two letter uppercase country code conforming to the ISO 3166-1 alpha-2 standard.



 |
| ShipToGeocodeAccuracy | 

Type

picklist

Properties

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

Description

The accuracy of the geocode for the shipping address.





 |
| ShipToLatitude | 

Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

The latitude of the location where the product is to be delivered to.



 |
| ShipToLongitude | 

Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

The longitude of the location where the product is to be delivered to.



 |
| ShipToPostalCode | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The postal code of the address where the product is to be delivered to.



 |
| ShipToState | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The name of the state where the product is to be delivered to.



 |
| ShipToStateCode | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

A two letter uppercase state code conforming to the ISO 3166-1 alpha-2 standard.



 |
| ShipToStreet | 

Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The street address where the product is to be delivered to.



 |
| ShipmentType | 

Type

picklist

Properties

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

Description

The type of shipment. The picklist includes the following values by default:

- None
- Rush
- Overnight
- Next Business Day
- Pick Up





 |
| SourceLocationId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The location the product is shipped from.

This is a relationship field.

Relationship Name

SourceLocation

Relationship Type

Lookup

Refers To

Location



 |
| Status | 

Type

picklist

Properties

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

Description

Status of the product transfer.



 |
| WorkOrderId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The work order that the product request is related to.

This is a relationship field.

Relationship Name

WorkOrder

Relationship Type

Lookup

Refers To

WorkOrder



 |
| WorkOrderLineItemId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The work order line item that the product request is related to.

This is a relationship field.

Relationship Name

WorkOrderLineItem

Relationship Type

Lookup

Refers To

WorkOrderLineItem



 |

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

[ProductRequestChangeEvent](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.") (API version 48.0)

Change events are available for the object.

[ProductRequestFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[ProductRequestHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[ProductRequestOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[ProductRequestShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.