> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/checkout/llms.txt)
> Source: https://docs.saleor.io/api-reference/checkout/queries/checkouts

# checkouts Query

List of checkouts. The query will not initiate any external requests, including fetching external shipping methods, filtering available shipping methods, or performing external tax calculations.

Requires one of the following permissions: MANAGE\_CHECKOUTS HANDLE\_PAYMENTS

```graphql
checkouts(
  sortBy: CheckoutSortingInput
  filter: CheckoutFilterInput
  channel: String
  before: String
  after: String
  first: Int
  last: Int
): CheckoutCountableConnection
```

Details

```graphql
type CheckoutCountableConnection {
  pageInfo: PageInfo!
  edges: [CheckoutCountableEdge!]!
  totalCount: Int
}
```

<a id="arguments"></a>

### Arguments

<a id="sort-by"></a>

#### [`sortBy`](#sort-by) ● [`CheckoutSortingInput`](/api-reference/checkout/inputs/checkout-sorting-input.md)

Sort checkouts.

<a id="filter"></a>

#### [`filter`](#filter) ● [`CheckoutFilterInput`](/api-reference/checkout/inputs/checkout-filter-input.md)

Filtering options for checkouts.

<a id="channel"></a>

#### [`channel`](#channel) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Slug of a channel for which the data should be returned.

<a id="before"></a>

#### [`before`](#before) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Return the elements in the list that come before the specified cursor.

<a id="after"></a>

#### [`after`](#after) ● [`String`](/api-reference/miscellaneous/scalars/string.md)

Return the elements in the list that come after the specified cursor.

<a id="first"></a>

#### [`first`](#first) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

<a id="last"></a>

#### [`last`](#last) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

<a id="type"></a>

### Type

<a id="checkoutcountableconnection"></a>

#### [`CheckoutCountableConnection`](/api-reference/checkout/objects/checkout-countable-connection.md)
