Skip to main content
object

An error that occurs during the execution of MenuUpdate.

•MenuUpdateUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•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?


Was this section helpful?