---
schema_version: "1"
id: 9b12e7a264d8d18b461e67a325596133446cd54913bb9ddd5f1a8f3a377a2048
title: ConnectApi.OrderToCartResult
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_order_to_cart_result.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_order_to_cart_result.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c56a16fbb51c9d40447df700574b4fba772a059d5d86bec59fe89cabee3d282f
description: Result of action adding an order to a cart.
---
# ConnectApi.OrderToCartResult

Result of action adding an order to a cart.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| cartId | String | ID of the cart. | 57.0 |
| totalFailedProductCount | Integer | Number of products that couldn't be successfully added to the cart from the order. | 57.0 |
| totalSucceededProductCount | Integer | Number of products successfully added to the cart from the order. | 57.0 |
| unaddedProducts | [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.OrderToCartFailedProduct](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_order_to_cart_failed_product.htm "Product that could not be added to the cart from an order, with error information.")\> | List of products not successfully added to the cart. | 57.0 |