Skip to main content
mutation

Requires write_online_store_navigation access scope.

Creates a navigation Menu for the online store. Menus organize links that help customers navigate to collections, products, pages, blogs, and custom URLs.

Each menu requires a unique handle for identification and can contain multiple MenuItem objects with nested sub-items up to three levels deep.

String!
required

The menu's handle.

[MenuItemCreateInput!]!
required

List of the menu's items.

String!
required

The menu's title.


Was this section helpful?

Anchor to MenuCreatePayload returnsMenuCreatePayload returns

Menu

The created menu.

[MenuCreateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?