Skip to main content

menuItemUpdate Mutation

Updates a menu item.

Requires MANAGE_MENUSpermission.

Triggers the following webhook events:

  • MENU_ITEM_UPDATED (async): A menu item was updated.
menuItemUpdate(
id: ID!
input: MenuItemInput!
): MenuItemUpdate

Arguments

ID of a menu item to update.

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

Type

Updates a menu item.

Requires MANAGE_MENUSpermission.

Triggers the following webhook events:

  • MENU_ITEM_UPDATED (async): A menu item was updated.