> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/queries/return-orders.md).

# returnOrders

### Arguments

| Argument                                                                                      | Description                                                                                |
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| statuses (\[[ReturnOrderStatus](/graphql-api/api-reference/objects/return-order-status.md)!]) | Filter return orders to those of specific statuses. Lists all return orders if none given. |
| subscriptionId ([ID](/graphql-api/api-reference/objects/id.md))                               | Only list return orders that match the passed in subscription ID.                          |
| after ([String](/graphql-api/api-reference/objects/string.md))                                | Returns the elements in the list that come after the specified cursor.                     |
| before ([String](/graphql-api/api-reference/objects/string.md))                               | Returns the elements in the list that come before the specified cursor.                    |
| first ([Int](/graphql-api/api-reference/objects/int.md))                                      | Returns the first *n* elements from the list.                                              |
| last ([Int](/graphql-api/api-reference/objects/int.md))                                       | Returns the last *n* elements from the list.                                               |

### Return fields

#### edges (\[[ReturnOrderEdge](/graphql-api/api-reference/objects/return-order-edge.md)])

A list of edges.

#### nodes (\[[ReturnOrder](/graphql-api/api-reference/objects/return-order.md)])

A list of nodes.

#### pageInfo ([PageInfo](/graphql-api/api-reference/objects/page-info.md)!)

Information to aid in pagination.

#### totalCount ([Int](/graphql-api/api-reference/objects/int.md))

The total number of items available.
