> ## Documentation Index
> Fetch the complete documentation index at: https://redo-44af351d-docs-v3-graphql-api-reference.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ReturnExchange

> Exchange details for the return.

<ResponseField name="itemCount" type="Int!" required>
  Total quantity of exchange items.
</ResponseField>

<ResponseField name="items" type={<a href="/docs/api-reference/v3/reference/returns/exchange-item">[ExchangeItem!]!</a>} required>
  The items on the exchange order.

  <Expandable title="fields" lazyRender>
    <ResponseField name="id" type="String!" required>
      The exchange item id.
    </ResponseField>

    <ResponseField name="lineItemId" type="String">
      The exchange order's line item id, if known.
    </ResponseField>

    <ResponseField name="originalPrice" type={<a href="/docs/api-reference/v3/reference/common/money">Money!</a>} required>
      The item's original price.

      <Expandable title="fields" lazyRender>
        <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
          The exact amount as a decimal string (e.g. "19.99").
        </ResponseField>

        <ResponseField name="currency" type="String!" required>
          ISO 4217 currency code (e.g. USD).
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="price" type={<a href="/docs/api-reference/v3/reference/returns/exchange-item-price">ExchangeItemPrice!</a>} required>
      The item's price.

      <Expandable title="fields" lazyRender>
        <ResponseField name="amount" type="String!" required>
          The exact decimal amount.
        </ResponseField>

        <ResponseField name="currency" type="String!" required>
          ISO 4217 currency code.
        </ResponseField>

        <ResponseField name="tax" type="String">
          The tax portion, as an exact decimal.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="quantity" type="Float!" required>
      The exchanged quantity.
    </ResponseField>

    <ResponseField name="sku" type="String">
      The item's SKU.
    </ResponseField>

    <ResponseField name="variant" type={<a href="/docs/api-reference/v3/reference/returns/external-ref">ExternalRef!</a>} required>
      The exchanged-for variant.

      <Expandable title="fields" lazyRender>
        <ResponseField name="externalId" type="String">
          The external id.
        </ResponseField>

        <ResponseField name="name" type="String">
          The display name.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="order" type={<a href="/docs/api-reference/v3/reference/returns/exchange-order">ExchangeOrder!</a>} required>
  The exchange/new order.

  <Expandable title="fields" lazyRender>
    <ResponseField name="externalId" type="String">
      The exchange order's external id.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="provision" type={<a href="/docs/api-reference/v3/reference/returns/return-provision-type">ReturnProvisionType</a>}>
  How the exchange is provisioned.
</ResponseField>

<ResponseField name="totalTax" type={<a href="/docs/api-reference/v3/reference/common/money">Money!</a>} required>
  Total tax on the exchange order.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The exact amount as a decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>
