Anchor to MenuUpdateUserErrorMenu
objectMenu Update User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- code (MenuUpdateUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Menu
Update User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- menuUpdate (MenuUpdatePayload)
- •mutation
Updates a
Menufor display on the storefront. Modifies the menu's title and navigation structure, including nestedobjects. You can update the handle for non-default menus.The items argument accepts a list of menu items with their nested structure. Each item can include nested items to create multi-level navigation hierarchies. Default menus have restricted updates—you can't change their handles.
- •ID!required
ID of the menu to be updated.
- •String!required
The menu's title.
- •String
The menu's handle.
- •[Menu
Item Update Input!]! required List of the menu's items.
Arguments
- •ID!
Was this section helpful?