menuUpdate Mutation
Updates a menu.
Triggers the following webhook events:
- MENU_UPDATED (async): A menu was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [MENU_UPDATED], syncEvents: [])
menuUpdate(id: ID!, input: MenuInput!): MenuUpdate
Returns
Show return type
type MenuUpdate {
menuErrors: [MenuError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [MenuError!]!
menu: Menu
}Arguments
id
id · ID!
ID of a menu to update.
input
input · MenuInput!
Fields required to update a menu.
Schema: Saleor 3.23.43. Download SDL.