---
schema_version: "1"
id: 63a6f7ecf3b806a4ade792185a370c105197b0b233151e28b4d905cfb362a1c1
title: ConnectApi.PreviewCartToExchangeOrderOutputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_preview_cart_to_exchange_order_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_preview_cart_to_exchange_order_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 81f6ccb68a3b143d1de0b191ff31ef7e9206949af7f983e29e307141a8cdc3a6
description: Expected change order financial values for the preview cart to exchange order action.
---
# ConnectApi.PreviewCartToExchangeOrderOutputRepresentation

Expected change order financial values for the preview cart to exchange order action.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| balanceStateExchangeWebCart | [ConnectApi.BalanceStatePreviewOutput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_balance_state_preview_output.htm "The generated preview of all balances for an order or a cart, including totals, adjustments, and taxes.") | The balance state preview for the exchange web cart. | Big, 61.0 |
| balanceStateOriginalOrderSummary | [ConnectApi.BalanceStatePreviewOutput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_balance_state_preview_output.htm "The generated preview of all balances for an order or a cart, including totals, adjustments, and taxes.") | The balance state preview for the original order summary. | Big, 61.0 |
| balanceStateReturnOrder | [ConnectApi.BalanceStatePreviewOutput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_balance_state_preview_output.htm "The generated preview of all balances for an order or a cart, including totals, adjustments, and taxes.") | The balance state preview for the return order. | Big, 61.0 |
| changeBalances | [ConnectApi.ChangeItemOutputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_change_item_output.htm "The financial changes resulting from a change to one or more OrderItemSummaries. Most of the values represent the deltas of the values on the associated OrderSummary. The sign of each value is the opposite of the corresponding value on a change order record. For example, a discount is a positive value here and a negative value on a change order record.") | Change order financial values for a preview order action. | Big, 60.0 |
| errors | [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.​ErrorResponse](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_error_response.htm "Base error response.")\> | Any errors that were returned. | Big, 60.0 |
| orderSummaryId | String | ID of the order summary. | Big, 60.0 |
| success | Boolean | Indicates whether the transaction was successful. | Big, 60.0 |