> ## Documentation Index
> Fetch the complete documentation index at: https://docs-test.rye.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ReturnOrderResponse

> Response after returnOrder mutation is called.

export const kind_0 = "type"

<Warning>
  This {kind_0 || 'feature'} is deprecated and will be removed in the future. You should not use it in new code.
</Warning>

## Fields

***

<ParamField path="result" type={<><a href="/api-reference/returnorderresult">ReturnOrderResult!</a></>} required>
  Array containing the orders associated with an order id and the return status for each line item. See the [ReturnOrderResult](/api-reference/returnorderresult) object for more information.
</ParamField>

<ParamField path="error" type={<><a href="/api-reference/returnordererror">ReturnOrderError</a></>}>
  Error object detailing information on why a return request failed. See the [ReturnOrderError](/api-reference/returnordererror) object for more information.
</ParamField>

## Mutations

***

[`returnOrder(input: ReturnOrderInput!)`](/api-reference/returnOrder)

***
