> ## 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.

# ReturnOrderError

> Represents errors that could occur during of a return request.

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="message" type={<>String!</>} required>
  The message provides more information regarding the error related to the return request.
</ParamField>

<ParamField path="code" type={<>ReturnOrderErrorCode!</>} required>
  The error code for the return request error. See the [ReturnOrderErrorCode](/api-reference/returnerrorcode) type for possible values.
</ParamField>

## Related types

* [`ReturnOrderResponse`](/api-reference/returnorderresponse)
