Skip to main content

menus

List of the storefront's menus.

menus(
channel: String
sortBy: MenuSortingInput
filter: MenuFilterInput
before: String
after: String
first: Int
last: Int
): MenuCountableConnection

Arguments

menus.channel ● String scalar

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

menus.sortBy ● MenuSortingInput input

Sort menus.

menus.filter ● MenuFilterInput input

Filtering options for menus.

slug: This field will be removed in Saleor 4.0. Use slugs instead.

menus.before ● String scalar

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

menus.after ● String scalar

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

menus.first ● Int scalar

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

menus.last ● Int scalar

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

Type


Was this page helpful?