---
schema_version: "1"
id: 9cb152defc3d6f89825e75d28c30de18a6bc0e1c2500f34374e25b246625cb73
title: ConnectApi.ProductCartItemCollection
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_product_cart_item_collection.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_product_cart_item_collection.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 384a69f95d420695085febe2c318d9dda8f22b2e9ae0d2e8b5875dbd6ba610ea
description: Items in the cart, grouped by product type.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​ProductCartItem](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_product_cart_item.htm "Cart items of a specific product type.")\> | 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 |