---
schema_version: "1"
id: e4483facfa3ce7b73613880f3f40a0ce78f3c464c71bee93e63c3049845602cf
title: ConnectApi.PreviewCartToExchangeOrderInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_preview_cart_to_exchange_order.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_preview_cart_to_exchange_order.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7e8b3d84173f4250b61174e567577caf68241a33807dbb59e7f4b3788a60b490
description: Information required to preview a cart to exchange order.
---
# ConnectApi.PreviewCartToExchangeOrderInputRepresentation

Information required to preview a cart to exchange order.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| exchangeCartId | String | ID of the cart used for adding items to the exchange order. | Required | 60.0 |
| orderSummaryId | String | Order summary ID. | Required | 60.0 |
| referenceId | String | Return order ID. | Required | 60.0 |
| reservationType | String | The type of the reservation. | Optional | 61.0 |