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

•ID!
required

ID of the menu to be updated.

•String!
required

The menu's title.

•String

The menu's handle.

•[MenuItemUpdateInput!]!
required

List of the menu's items.



Was this section helpful?