Skip to main content

menuItemCreate Mutation

Creates a new menu item.

Requires the MANAGE_MENUSpermission.

Triggers the following webhook events:

  • MENU_ITEM_CREATED (async): A menu item was created.
menuItemCreate(
input: MenuItemCreateInput!
): MenuItemCreate
Details
type MenuItemCreate {
menuErrors: [MenuError!]! @deprecated
errors: [MenuError!]!
menuItem: MenuItem
}

Arguments

input ● MenuItemCreateInput!

Fields required to update a menu item. Only one of url, category, page, collection is allowed per item.

Type

Creates a new menu item.

Requires the MANAGE_MENUSpermission.

Triggers the following webhook events:

  • MENU_ITEM_CREATED (async): A menu item was created.