Preview Cart to Exchange Order

Retrieves a preview of an exchange order. This action considers the order summary balance and the difference between the return order and the cart that represents the exchange order.
Resource
/commerce/order-management/exchanges/actions/preview-cart-to-exchange-order
Available version
60.0
HTTP methods
POST
Request body for POST
Preview Cart to Exchange Order Input
Root XML tag
<previewCartToExchangeOrderInput>
JSON example
{
  "orderSummaryId": "1Osxx0000000000",
  "exchangeCartId": "0a6xx0000000000",
  "referenceId": "2oNxx0000000000"
}
Properties
Name 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
Response body for POST
Preview Cart to Exchange Order