CartItemAttribute

Represents the attributes associated with a cart item, stored as key-value pairs. These attributes are derived from the product and carried forward to the order during checkout. This object is available in API version 66.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), query(), retrieve(), update(), upsert()

Special Access Rules

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.

Fields

Field Details
AttributeDefinitionId
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
Lookup
Refers To
AttributeDefinition
AttributeName
Type
string
Properties
Filter, Group, idLookup, Nillable, Sort
Description
The name of the cart item attribute.
AttributePicklistValueId
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
Lookup
Refers To
AttributePicklistValue
AttributeValue
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The value of the cart item attribute, such as Blue or Large.
CartItemId
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
Master-detail
Refers To
CartItem (the master object)
ExternalId
Type
string
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.
IsPriceImpacting
Type
boolean
Properties
Create, Filter, Group, Nillable, Sort, Update
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.
UnitOfMeasure
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the unit of measure associated with the cart item attribute.
This field is available only if the AttributeUomPilot Org perm is enabled. Contact Salesforce support for assistance.
This field is a relationship field.
Relationship Name
UnitOfMeasure
Relationship Type
Lookup
Refers To
UnitOfMeasure

Associated Objects

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 and later.

CartItemAttributeChangeEvent
Change events are available for the object.
CartItemAttributeFeed
Feed tracking is available for the object.
CartItemAttributeHistory
History is available for tracked fields of the object.
CartItemAttributeOwnerSharingRule
Sharing rules are available for the object.
CartItemAttributeShare
Sharing is available for the object.