WebCart

Represents an online shopping cart for a store built with B2B Commerce or D2C Commerce, with total amounts for products, shipping and handling, and taxes. This object is available in API version 49.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see WebCart in the Communications, Media, Energy and Utilities (CME) Developer Guide and Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccountIdAccount IDreference 18  
BillingAddressBilling Addressaddress    
BillingCityBilling Citystring 40  
BillingCountryBilling Countrystring 80  
BillingGeocodeAccuracyBilling Geocode Accuracypicklist 40  
BillingLatitudeBilling Latitudedouble  1815
BillingLongitudeBilling Longitudedouble  1815
BillingPostalCodeBilling Zipstring 20  
BillingStateBilling Statestring 80  
BillingStreetBilling Streettextarea 255  
CollaborationLockedAtCollaboration Locked Atdatetime    
CollaborationLockedByIdUser IDreference 18  
CollaborationStatusCollaboration Statuspicklist 255  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
DescriptionCart Descriptionstring 250  
GrandTotalAmountGrand Total Amount in Cartcurrency  182
GuestCompanyNameName of the companystring 255  
GuestEmailAddressEmail address for Guest Useremail 80  
GuestFirstNameFirst Name for Guest Userstring 255  
GuestLastNameLast Name for Guest Userstring 255  
GuestPhoneNumberPhone Number for Guest Userphone 40  
GuestSecondNameSecond Name for Guest Userstring 255  
IdCart IDid 18  
InitialOrderReferenceNumberInitial Order Reference Numberstring 36  
InventoryReservationIdentifierThe inventory reservation identifier.string 255  
IsDeletedDeletedboolean    
IsRepricingNeededIs Repricing Neededboolean    
IsSecondaryIs Cart Secondaryboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastOperationJobIdLast Operation Job IDreference 18  
LastRepricingDateLast Repricing Datedatetime    
NameCart Namestring 255  
OrderOwnerIdUser IDreference 18  
OwnerIdOwner IDreference 18  
PaymentGroupIdPayment Group IDreference 18  
PaymentMethodIdPayment Method IDreference 18  
PoNumberPurchase Order Numberstring 80  
QuoteLineItemCountQuote Line Item Countint9   
StatusStatuspicklist 255  
SubStatusSubstatuspicklist 255  
SystemModstampSystem Modstampdatetime    
TaxTypeTax Policy for Cartpicklist 255  
TotalAdjustmentAmountTotal Quantity Based and Promotional Adjustment Amount in Cartcurrency  182
TotalAmountTotal Amount in Cartcurrency  182
TotalAmountAfterAllAdjustmentsCart Total Adjusted Pricecurrency  182
TotalCartLevelAdjAmountTotal cart level adjustment amount for all the items in the cart. Includes discount and surcharge.currency  182
TotalChargeAmountTotal Charge Amount in Cartcurrency  182
TotalChargeItemAdjAmountTotal adjustment amount on a cart item of type charge. Includes discount and surcharge.currency  182
TotalChargeTaxAmountTotal Charge Tax Amount in Cartcurrency  182
TotalLineItemsWithErrorsTotal Line Items with Errorsint9   
TotalListAmountTotal List Amount in Cartcurrency  182
TotalProductAmountTotal Product Amount in Cartcurrency  182
TotalProductCountTotal Quantity in the Cartdouble  180
TotalProductItemAdjAmountTotal adjustment amount on a cart item. Includes discount and surcharge.currency  182
TotalProductItemAdjTaxAmountThe total tax on itemized adjustments, including discounts and surcharges, across all product items in the cart.currency  182
TotalProductLineItemCountTotal Product Line Item Countint9   
TotalProductListAmountTotal Product List Amount in Cartcurrency  182
TotalProductTaxAmountTotal Product Tax Amount in Cartcurrency  182
TotalPromoAdjustmentAmountCart Promotions Adjustmentcurrency  182
TotalPromoAdjustmentTaxAmountCart Promotions Tax Adjustmentcurrency  182
TotalTaxAmountTotal Tax Amount in Cartcurrency  182
TypeTypepicklist 255  
UniqueProductCountUnique Products (SKUs) in the Cartint9   
WebStoreIdStore IDreference 18  

WebCartHistory represents the history of changes to the values in the fields of the WebCart object.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see WebCartHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdCart History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
WebCartIdCart IDreference 18  

Sharing for WebCart.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18