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

# menuItems Query

List of the storefronts's menu items.

```graphql
menuItems(
  channel: String
  sortBy: MenuItemSortingInput
  filter: MenuItemFilterInput
  before: String
  after: String
  first: Int
  last: Int
): MenuItemCountableConnection
```

Details

```graphql
type MenuItemCountableConnection {
  pageInfo: PageInfo!
  edges: [MenuItemCountableEdge!]!
  totalCount: Int
}
```

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

### Arguments

<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="sort-by"></a>

#### [`sortBy`](#sort-by) ● [`MenuItemSortingInput`](/api-reference/miscellaneous/inputs/menu-item-sorting-input.md)

Sort menus items.

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

#### [`filter`](#filter) ● [`MenuItemFilterInput`](/api-reference/miscellaneous/inputs/menu-item-filter-input.md)

Filtering options for menu items.

<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="menuitemcountableconnection"></a>

#### [`MenuItemCountableConnection`](/api-reference/menu/objects/menu-item-countable-connection.md)
