ConnectApi.CartSummary

A cart summary.

Property NameTypeDescriptionAvailable Version
accountIdStringID of the account for the cart.49.0
asyncOperation​StatusStringAsynchronous processing status of the cart, if asynchronous processing is enabled for the store. This property returns Completed in Apex, because Apex operations always run synchronously.59.0
cartIdStringID of the cart.49.0
currencyIsoCodeStringThree-letter ISO 4217 currency code associated with the cart.49.0
customFieldsList<SObject>Array of sObjects and viewable custom fields for the sObjects. Field-level security rules from the shopper profile are applied to the custom fields. The rules are applied for registered shoppers and for the guest shopper profile. If no custom fields were specified, returns an empty collection.61.0
firstPymtGrand​TotalAmountStringFirst payment amount for subscription products, plus the total payment amount for non-subscription products. Includes taxes.60.0
firstPymt​TotalAmountStringThe total amount on the first payment of the cart.63.0
firstPymt​TotalListPriceStringThe total list price on the first payment of the cart.63.0
firstPymtTotal​TaxAmountStringTax amount on the first payment for any subscription products, plus the total tax amount on non-subscription products.60.0
grandTotal​AmountStringGrand total amount including shipping and tax for items in the cart, in the currency of the cart.49.0
hasGiftBooleanSpecifies whether the cart contains a gift (true) or not (false).64.0
isSecondaryBooleanSpecifies whether the cart is secondary (true) or not (false).53.0
nameStringName of the cart.49.0
ownerIdStringID of the owner of the cart.49.0
ownerOrderIdStringID of the owner of the order.58.0
purchaseOrder​NumberStringPurchase order for the cart.50.0
statusConnectApi.​CartStatusStatus of the cart. Values are:
  • Active—Cart is created and available for modifications, like adding or removing products or promotions.
  • Checkout—Cart is in checkout. If the customer modifies the cart, the current checkout session is canceled.
  • Closed—Checkout is complete and an order was created. The cart cannot be modified.
  • PendingClosed—Cart is marked to be closed, but the request isn’t completed yet. The cart can’t be modified. This value is available in API version 57.0 and later.
  • PendingDelete—Cart is marked for delete, but the request isn’t completed yet. The cart can’t be modified.
  • Processing—Cart is processing. For example, taxes are being calculated. The cart can’t be modified.
49.0
taxTypeStringTax type of the cart.
  • Automatic—Automatic taxation policy.
  • Gross—Gross taxation policy.
  • Net—Net taxation policy.
55.0
totalAmount​WithItem​AdjustmentStringTotal amount, including both tier and item level discounts but excluding cart level discounts, for all items in the cart.61.0
totalCartLevel​Adjustment​AmountStringTotal cart level discount amount for the cart.61.0
totalChargeAmountStringTotal amount for shipping and other charges in the currency of the cart. Includes adjustments from shipping promotions.49.0
totalListPriceStringTotal list price for all cart items plus shipping adjustments.49.0
totalProduct​AmountStringTotal amount including discounts, but excluding shipping and tax, for product items in the cart.49.0
totalProductAmount​AfterAdjustmentsStringTotal product amount, including promotions.52.0
totalProduct​CountStringTotal count of items in the cart. This field may not be accurate when faster add-to-cart is turned on and quantity rules are enabled for products in the cart.49.0
totalProduct​LineItemCountIntegerTotal count of line items, of the type Product, in the cart.60.0
totalProduct​ListAmountStringTotal list price for all products in the cart without any adjustments.59.0
total​Promotional​AdjustmentAmountStringTotal promotional adjustment amount for items in the cart.52.0
totalSubProduct​CountStringTotal quantity of all cart items with the selling model type Evergreen or Term-Defined.60.0
totalTaxAmountStringTotal tax amount for the cart, including tax on shipping, if applicable.49.0
typeConnectApi.​CartTypeType of cart. Values are:
  • Cart—Cart created by a customer.
  • PayNowReadOnly—Clone of a Template cart that the customer can check out with using the Pay Now feature.
  • Template—Cart created by an internal user.
49.0
uniqueProduct​CountIntegerTotal count of unique items, or SKUs, in the cart. This field is supported when faster add-to-cart is turned off.49.0
webstoreIdStringID of the webstore of the cart.49.0

See Also