Salesforce B2C Commerce 23.5 > Open Commerce API 23.2 > Shop API documents 23.2

ItemKey document (Shop API 23.2)

(supports custom properties)

Document representing an item key.

The item can be either identified by its item id (item_id) or by its product id (product_id). If both are returned, the item that is identified by item_id must also have its product_id set.

The item id for an item is unique in its parent container. However, the parent container can have multiple items with one product id.
Property Type Constraints Description
item_id String   The item id.
product_id String   The product id.
X OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.