Salesforce B2C Commerce 23.6 > Open Commerce API 23.2 > Data API documents 23.2

PreferenceValue document (Data API 23.2)

Represents a single preference value

Property Type Constraints Description
attribute_definition ObjectAttributeDefinition   The attribute definition for this preference
description Localized<String>   Description of the attribute
display_name Localized<String>   Display name for the attribute
id String   The id of the attribute
site_values Map[String, Object]   The value of this attribute
value_type Enum {string, int, double, text, html, date, image, boolean, money, quantity, datetime, email, password, set_of_string, set_of_int, set_of_double, enum_of_string, enum_of_int, unknown}   The type of this attribute.
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.