CartItemAttribute
Represents the attributes associated with a cart item, stored as key-value pairs.
Introduced in API version 66.0.
create(), delete(), describeLayout(), describeSObjects(), query(), retrieve(), update(), upsert()
- The CartItemAttribute object is available:only if the B2B Commerce license, the Salesforce CPQ feature, and Commerce Dynamic Bundles are enabled in your Salesforce org.
-
Type: reference
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
The ID of the attribute definition associated with the cart item attribute.
This field is a relationship field.
-
Relationship name: AttributeDefinition
-
Relationship type: relationship
-
Refers to: AttributeDefinition
- Type: string
- Properties: Filter, Group, idLookup, Nillable, Sort
- Description: The name of the cart item attribute.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The ID of the picklist value associated with the cart item attribute.
This field is a relationship field.
-
Relationship name: AttributePicklistValue
-
Relationship type: relationship
-
Refers to: AttributePicklistValue
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The value of the cart item attribute, such as Blue or Large.
-
Type: reference
-
Properties: Create, Filter, Group, Sort
-
Description:
The ID of the cart item to which this attribute is assigned.
This field is a relationship field.
-
Relationship name: CartItem
-
Relationship type: masterdetail
-
Refers to: CartItem
- Type: id
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: An auto-generated ID for the attribute record that’s stored in an external system, such as the HBase database.
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 66.0
- Description: Indicates whether the attribute affects cart pricing (
true) or not (false). This field determines whether the Commerce Pricing API calls must be triggered to update the price.
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.