Newer Version Available

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

WebCart

Represents an online shopping cart in a store built with B2B Commerce on Lightning, with total amounts for products, shipping and handling, and taxes.

For more information, see WebCart in the Object Reference for Salesforce and Lightning Platform.

Fields

Field Name Field Label Type Digits Length Precision Scale
AccountId Account ID reference 18
BillingAddress Billing Address address
BillingCity Billing City string 40
BillingCountry Billing Country string 80
BillingGeocodeAccuracy Billing Geocode Accuracy picklist 255
BillingLatitude Billing Latitude double 18 15
BillingLongitude Billing Longitude double 18 15
BillingPostalCode Billing Zip string 20
BillingState Billing State string 80
BillingStreet Billing Street textarea 255
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
GrandTotalAmount Grand Total Amount in Cart currency 18 2
GuestEmailAddress Email address for Guest User email 80
GuestFirstName First Name for Guest User string 255
GuestLastName Last Name for Guest User string 255
GuestPhoneNumber Phone Number for Guest User phone 40
GuestSecondName Second Name for Guest User string 255
Id Cart ID id 18
IsDeleted Deleted boolean
IsLocked Is Locked boolean
IsRepricingNeeded Is Repricing Needed boolean
IsSecondary Is Cart Secondary boolean
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
LastRepricingDate Last Repricing Date datetime
MayEdit May Edit boolean
Name Cart Name string 255
OwnerId Owner ID reference 18
PoNumber Purchase Order Number string 80
Status Status picklist 255
SystemModstamp System Modstamp datetime
TotalAdjustmentAmount Cart Promotions Plus Tax Adjustment currency 18 2
TotalAmount Total Amount in Cart currency 18 2
TotalAmountAfterAllAdjustments Cart Total Adjusted Price currency 18 2
TotalChargeAmount Total Charge Amount in Cart currency 18 2
TotalChargeTaxAmount Total Charge Tax Amount in Cart currency 18 2
TotalLineItemsWithErrors Total Line Items with Errors int 9
TotalListAmount Total List Amount in Cart currency 18 2
TotalProductAmount Total Product Amount in Cart currency 18 2
TotalProductCount Total Quantity in the Cart double 18 0
TotalProductTaxAmount Total Product Tax Amount in Cart currency 18 2
TotalPromoAdjustmentAmount Cart Promotions Adjustment currency 18 2
TotalPromoAdjustmentTaxAmount Cart Promotions Tax Adjustment currency 18 2
TotalTaxAmount Total Tax Amount in Cart currency 18 2
Type Type picklist 255
UniqueProductCount Unique Products(SKUs) in the Cart int 9
WebStoreId Store ID reference 18