ConnectApi.CartItemCollection

A collection of items in a cart.

Property NameTypeDescriptionAvailable Version
approaching​DiscountsList<String>List of approaching discounts for the cart items.64.0
cartCouponsConnectApi.​CartCouponCollectionCollection of coupons in the cart.59.0
cartItemsList<ConnectApi.​CartItemResult>Collection of cart item results.49.0
cartPromotionsConnectApi.​CartPromotionCollectionCollection of promotions in the cart.59.0
cartSummaryConnectApi.​CartSummarySummary of the cart.49.0
currentPageIntegerCurrent 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
currentPageTokenStringToken identifying the current page.49.0
currentPageUrlStringConnect REST API URL identifying the current page.49.0
hasErrorsBooleanSpecifies whether at least one of the results contains an error.49.0
nextPageTokenStringToken identifying the next page, or null if there isn’t a next page.49.0
nextPageUrlStringConnect REST API URL identifying the next page, or null if there isn’t a next page.49.0
previousPageTokenStringToken identifying the previous page, or null if there isn’t a previous page.49.0
previousPageUrlStringConnect REST API URL identifying the previous page, or null if there isn’t a previous page.49.0
totalItemCountIntegerTotal number of unique products in the cart.60.0
totalNumberOfPagesIntegerTotal number of pages for the given page size.60.0