Newer Version Available

This content describes an older version of this product. View Latest

CartItemRelationship

Each row represents a relationship between cart items. This object is available in API version 66.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Special Access Rules

The CartItemRelationship object is available with CMERLMB2CAddOn license.

Fields

Field Details
AssociatedCartItemId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the associated cart item.
This field is a relationship field.
Relationship Name
AssociatedCartItem
Refers To
CartItem
AssociatedCartItemPricing
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies how the associated cart item is priced relative to the main cart item.
Possible values are:
  • IncludedInBundlePrice—Included in Bundle Price
  • NotIncludedInBundlePrice—Not Included in Bundle Price
AssociatedCartItemRole
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies the role of the associated cart item in the relationship.
Possible values are:
  • AddOnComponent—Addon Component
  • BundleComponent—Bundle Component
  • ClassificationComponent—Product Classification Component
  • ProductRequestComponent—Product Request Component
  • SetComponent—Set Component
AssociatedQuantScaleMethod
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies how the quantity of the associated cart item scales, relative to the main cart item.
Possible values are:
  • Constant
  • Proportional
The default value is Proportional.
CartId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the related cart.
This field is a relationship field.
Relationship Name
Cart
Refers To
WebCart
IsPriceIncluded
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the price of bundle is included in the root bundle (true) or not (false).
The default value is false.
MainCartItemId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the main cart item.
This field is a relationship field.
Relationship Name
MainCartItem
Relationship Type
Master-detail
Refers To
CartItem (the master object)
MainCartItemRole
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies the role of the main cart item in the relationship.
Possible values are:
  • AddOn—Addon Parent
  • Bundle—Bundle Parent
  • ProductRequest—Product Request
  • Set—Set Parent
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the CartItemRelationship.
ProductRelatedComponentId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the product related component.
This field is a relationship field.
Relationship Name
ProductRelatedComponent
Refers To
ProductRelatedComponent
ProductRelationshipTypeId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the record that describes the relationship between the main and associated cart items.
This field is a relationship field.
Relationship Name
ProductRelationshipType
Refers To
ProductRelationshipType
RootCartItemId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the root cart item.
This field is a relationship field.
Relationship Name
RootCartItem
Refers To
CartItem