Skip to main content
object

Requires read_online_store_navigation access scope.

A menu for display on the storefront.

•String!
non-null

The menu's handle.

•ID!
non-null

A globally-unique ID.

•Boolean!
non-null

Whether the menu is a default. The handle for default menus can't be updated and default menus can't be deleted.

•[MenuItem!]!
non-null

A list of items on the menu sorted by position.

•String!
non-null

The menu's title.

•[Translation!]!
non-null

The published translations associated with the resource.


Was this section helpful?

•query

Returns a Menu resource by ID.

•query

The shop's menus.


Was this section helpful?

•mutation

Creates a menu.

Arguments

•String!
required

The menu's handle.

•[MenuItemCreateInput!]!
required

List of the menu's items.

•String!
required

The menu's title.


Fields

•Menu

The created menu.

•[MenuCreateUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates a menu.

Arguments

•String

The menu's handle.

•ID!
required

ID of the menu to be updated.

•[MenuItemUpdateInput!]!
required

List of the menu's items.

•String!
required

The menu's title.


Fields

•Menu

The updated menu.

•[MenuUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?