Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.PreserveCart

Represents a preserved cart.
Property Name Type Description Available Version
cartId String ID of the authenticated cart. 60.0
currencyIsoCode String Currency ISO code for the authenticated cart. 60.0
failedCartItems List<ConnectApi.CartItem​BasicResult> List of products that weren’t successfully transferred from the guest cart to the authenticated cart. 60.0
numberOfProducts Integer Total number of products in the guest cart. 60.0
numberOfProductsWithError Integer Total number of products that weren’t successfully transferred from the guest cart to the authenticated cart. 60.0
numberOfProductsWithSuccess Integer Total number of products successfully transferred from the guest cart to the authenticated cart. 60.0
succeededCartItems List<ConnectApi.CartItem​BasicResult> List of products successfully transferred from the guest cart to the authenticated cart. 60.0