WebCart

Each row represents an item of an online shopping cart for a store built with B2B Commerce or B2C Commerce with total amounts for products, shipping and handling, and taxes. This object is available in API version 66.0 and later.

Supported Calls

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

Special Access Rules

The WebCart object is available with CMERLMB2CAddOn license.

Fields

Field Details
CalculationStatus
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the type of web cart calculation status after running the Place Sales Transaction API.
Possible values are:
  • CartRequestFailed—Cart Request Failed
  • CartRequestPartiallySaved—Cart Request Partially Saved
  • CompletedWithPricing—Completed With Pricing
  • CompletedWithoutPricing—Completed Without Pricing
  • ConfigurationFailed—Configuration Failed
  • NotStarted—None in Progress
  • PriceCalculationFailed—Price Calculation Failed
  • PriceCalculationInProgress—Price Calculation in Progress
  • PriceCalculationQueued—Price Calculation Queued
  • ReconciliationFailed—Some Records Weren’t Saved
  • SaveFailedOrIncomplete—Some Records Weren’t Saved
  • Saving—Saving...
The default value is NotStarted.
Pricebook2Id
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the pricebook associated with the web cart.
This field is a relationship field.
Relationship Name
Pricebook2
Refers To
Pricebook2
Type
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the type of web cart.
Possible values are:
  • Cart
  • ConsumerSales—Consumer Sales
  • PayNowReadOnly—Pay Now Read Only
  • ReadOnly—Read Only
  • Template
ValidationResult
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the type of web cart transaction staus.
Possible values are:
  • MissingContributor—Missing Contributor
  • TransactionIncomplete—Transaction Incomplete

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.

WebCartChangeEvent
Change events are available for the object.
WebCartFeed
Feed tracking is available for the object.
WebCartHistory
History is available for tracked fields of the object.
WebCartOwnerSharingRule
Sharing rules are available for the object.
WebCartShare
Sharing is available for the object.