Skip to main content

menuItems

List of the storefronts's menu items.

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

Arguments

menuItems.channel ● String scalar

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

menuItems.sortBy ● MenuItemSortingInput input

Sort menus items.

menuItems.filter ● MenuItemFilterInput input

Filtering options for menu items.

menuItems.before ● String scalar

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

menuItems.after ● String scalar

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

menuItems.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.

menuItems.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?