# orders

### Arguments

| Argument                                                                                                                                              | Description                                                             |
| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| paid ([Boolean](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/boolean))                            | Only list orders with given payment status on related invoice.          |
| createdSince ([ISO8601DateTime](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/iso-8601-date-time)) | Filter orders to those that where created since the given datetime.     |
| updatedSince ([ISO8601DateTime](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/iso-8601-date-time)) | Filter orders to those that where updated since the given datetime.     |
| updatedUntil ([ISO8601DateTime](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/iso-8601-date-time)) | Filter orders to those that where updated until the given datetime.     |
| status ([OrderStatus](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/order-status))                 | Filter orders on given status. Lists all orders if none given.          |
| after ([String](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/string))                             | Returns the elements in the list that come after the specified cursor.  |
| before ([String](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/string))                            | Returns the elements in the list that come before the specified cursor. |
| first ([Int](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int))                                   | Returns the first *n* elements from the list.                           |
| last ([Int](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int))                                    | Returns the last *n* elements from the list.                            |

### Return fields

#### edges (\[[OrderEdge](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/order-edge)])

A list of edges.

#### nodes (\[[Order](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/order)])

A list of nodes.

#### pageInfo ([PageInfo](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/page-info)!)

Information to aid in pagination.

#### totalCount ([Int](https://developer.firmhouse.com/~/changes/v7t3tfYrVBDkXZZGoQGP/graphql-api/api-reference/objects/int))

The total number of items available.
