---
schema_version: "1"
id: fcf63783ad22822f9e7a3fce9dde392772745b8da1d2c23e8c8a4a66bf93dee6
title: InventoryItemReservation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_inventoryitemreservation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_inventoryitemreservation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9e01d36e4400d5e8ce9e17b6f0e983e7ff619a56db892d664624f9943d558d24
description: Used to store inventory item reservation information for a specific product and location. This object is available in API version 60.0 and later.
---
# InventoryItemReservation

Used to store inventory item reservation information for a specific product and location. This object is available in API version 60.0 and later.

## Supported Calls

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

## Special Access Rules

This object is available only if a B2B Commerce, D2C Commerce, B2C Commerce or Salesforce Order Management license is enabled.

## Fields

| Field | Details |
| --- | --- |
| CurrencyIsoCode | 
Type

picklist

Properties

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

Description

Available only for orgs with the multicurrency feature enabled. ISO code for the currency of the inventory items.

Possible values are:

- EUR—Euro
- USD—U.S. Dollar

The default value is USD.



 |
| ErrorCode | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The error code if the reservation isn’t successful.



 |
| ErrorMessage | 

Type

textarea

Properties

Create, Nillable, Update

Description

If an error occurred, this field contains the error message.



 |
| InventoryItemReservationName | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Name of the inventory item reservation (autogenerated, for example: PIR-0033).



 |
| InventoryReservationId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the inventory reservation.

This field is a relationship field.

Relationship Name

InventoryReservation

Relationship Type

Lookup

Refers To

InventoryReservation



 |
| ItemReservationSourceId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the entity associated with the inventory item reservation.

This field is a relationship field.

Relationship Name

ItemReservationSource

Relationship Type

Lookup

Refers To

CartItem



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.



 |
| ProductId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort

Description

The ID of the product on the inventory item reservation. This field is unique within your organization.

This field is a relationship field.

Relationship Name

Product

Relationship Type

Lookup

Refers To

Product2



 |
| Quantity | 

Type

double

Properties

Create, Filter, Sort, Update

Description

Number of products on the inventory item reservation.



 |
| ReservedAtLocationId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The location or location group where the inventory item reservation originated.

This field is a polymorphic relationship field.

Relationship Name

ReservedAtLocation

Relationship Type

Lookup

Refers To

Location, LocationGroup



 |
| StockKeepingUnit | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort

Description

The stock keeping unit (SKU) of the reserved item.



 |