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

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:
    • 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:
    • 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.
  • Default value: Proportional
  • Possible values:
    • Constant
    • 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).
  • Default value: 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:
    • 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

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.

CartItemRelationshipChangeEvent
Change events are available for the object.
CartItemRelationshipFeed
Feed tracking is available for the object.
CartItemRelationshipHistory
History is available for tracked fields of the object.
CartItemRelationshipOwnerSharingRule
Sharing rules are available for the object.
CartItemRelationshipShare
Sharing is available for the object.