Skip to main content
payload

Return type for menuCreate mutation.

•Menu

The created menu.

•[MenuCreateUserError!]!
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

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.

Arguments

•String!
required

The menu's title.

•String!
required

The menu's handle.

•[MenuItemCreateInput!]!
required

List of the menu's items.



Was this section helpful?