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 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 | 40 | |||
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 | |||
CollaborationLockedAt | Collaboration Locked At | datetime | ||||
CollaborationLockedById | User ID | reference | 18 | |||
CollaborationStatus | Collaboration Status | picklist | 255 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
CurrencyIsoCode | Currency ISO Code | picklist | 3 | |||
Description | Cart Description | string | 250 | |||
GrandTotalAmount | Grand Total Amount in Cart | currency | 18 | 2 | ||
GuestCompanyName | Name of the company | string | 255 | |||
GuestEmailAddress | Email address for Guest User | 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 | |||
InitialOrderReferenceNumber | Initial Order Reference Number | string | 36 | |||
InventoryReservationIdentifier | The inventory reservation identifier. | string | 255 | |||
IsDeleted | Deleted | boolean | ||||
IsRepricingNeeded | Is Repricing Needed | boolean | ||||
IsSecondary | Is Cart Secondary | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastOperationJobId | Last Operation Job ID | reference | 18 | |||
LastRepricingDate | Last Repricing Date | datetime | ||||
Name | Cart Name | string | 255 | |||
OrderOwnerId | User ID | reference | 18 | |||
OwnerId | Owner ID | reference | 18 | |||
PaymentGroupId | Payment Group ID | reference | 18 | |||
PaymentMethodId | Payment Method ID | reference | 18 | |||
PoNumber | Purchase Order Number | string | 80 | |||
QuoteLineItemCount | Quote Line Item Count | int | 9 | |||
Status | Status | picklist | 255 | |||
SubStatus | Substatus | picklist | 255 | |||
SystemModstamp | System Modstamp | datetime | ||||
TaxType | Tax Policy for Cart | picklist | 255 | |||
TotalAdjustmentAmount | Total Quantity Based and Promotional Adjustment Amount in Cart | currency | 18 | 2 | ||
TotalAmount | Total Amount in Cart | currency | 18 | 2 | ||
TotalAmountAfterAllAdjustments | Cart Total Adjusted Price | currency | 18 | 2 | ||
TotalCartLevelAdjAmount | Total cart level adjustment amount for all the items in the cart. Includes discount and surcharge. | currency | 18 | 2 | ||
TotalChargeAmount | Total Charge Amount in Cart | currency | 18 | 2 | ||
TotalChargeItemAdjAmount | Total adjustment amount on a cart item of type charge. Includes discount and surcharge. | 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 | ||
TotalProductItemAdjAmount | Total adjustment amount on a cart item. Includes discount and surcharge. | currency | 18 | 2 | ||
TotalProductItemAdjTaxAmount | The total tax on itemized adjustments, including discounts and surcharges, across all product items in the cart. | currency | 18 | 2 | ||
TotalProductLineItemCount | Total Product Line Item Count | int | 9 | |||
TotalProductListAmount | Total Product List Amount in Cart | currency | 18 | 2 | ||
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 |
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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Cart History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
WebCartId | Cart ID | reference | 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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccessLevel | Custom Object Access | picklist | 40 | |||
Id | Custom Object Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
ParentId | Parent ID | reference | 18 | |||
RowCause | Row Cause | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |