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

Option document (Shop API 23.2)

Document representing a product option.

Property Type Constraints Description
description Localized<String>   The localized description of the option.
id String mandatory=true, maxLength=100, minLength=1, nullable=false The id of the option.
image String   The URL to the option image.
name Localized<String>   The localized name of the option.
values [OptionValue]   The array of option values. This array can be empty.
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.