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.ProductCartItemCollection

Items in the cart, grouped by product type.
Property Name Type Description Available Version
count Integer Number of cart items returned on the current page 60.0
currentPage Integer Current page of cart items. The value matches the requested page number, unless the requested page number exceeds the total number of pages. In this scenario, the current page is the highest available page number. 60.0
hasErrors Boolean Indicates whether at least one of the results contains an error (True) or not (False). 60.0
products List<ConnectApi.​ProductCartItem> Products in the cart. 60.0
totalItemCount Integer Total number of unique products in the cart. 60.0
totalNumberOfPages Integer Total number of pages for the given page size. 60.0