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

# OrderReturn

> Represents return details of an order that a customer places for a product.

## Fields

***

**id** `ID!` *required*

The return id generated when a return is requested.

**orderId** `ID!` *required*

The Rye order id associated with the return.

**shippingLabelUrl** `String` *required*

When a return has been apporved this represents the shipping label url that can be forwarded to the customer.

**updatedAt** `[Time!](/api-reference/time)` *required*

Date when return was last updated.

**createdAt** `[Time!](/api-reference/time)` *required*

Time return was first created.

**marketplace** `[Marketplace!](/api-reference/marketplace)` *required*

Which marketplace the return was created on.

**marketplaceOrderId** `String!` *required*

Order id from the marketplace.

**lineItems** `[\[ReturnLineItem!\]!](/api-reference/returnlineitem)`

Line items associated with the return. See [ReturnLineItem](https://docs-test.rye.com/docs/api-reference/returnlineitem) for more details.

## Related types

* [`Order`](https://docs-test.rye.com/docs/api-reference/order)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.