Skip to main content
mutation

Requires write_online_store_navigation access scope.

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.

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?

Anchor to MenuUpdatePayload returnsMenuUpdatePayload returns

Menu

The updated menu.

[MenuUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?