[Go to site: main page, start]

Skip to main content
payload

Return type for menuUpdate mutation.

Menu

The updated menu.

[MenuUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

mutation

Updates a Menu for display on the storefront. Modifies the menu's title and navigation structure, including nested MenuItem objects. You can update the handle for non-default menus.

The items argument accepts a list of menu items with their nested structure. Each item can include nested items to create multi-level navigation hierarchies. Default menus have restricted updates—you can't change their handles.

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.



Was this section helpful?