Content > Menus > menusModify
Commerce APIContentMenusmenusModify
menusModify
POST:menus.json

Description

Modify one ore more menus.

Permission bit: "menus.modify"

Topic: Menus

Arguments

data: [MenuModify!]!

Main argument for mutations.


ids: [String!]!

List of menu ids. See also: Unique Identifiers

Example: ["me_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

custom_fields: [CustomFieldCreate!]


handle: String

Menu handle (you can lookup menu using a handle)

Example: "footer"

Valid when: handle is not empty

Valid when: handle's length doesn't exceed 250 characters


item_titles_i18n: [String!]


items: [MenuItemCreate!]

Menu items


name: String

Menu name

Translatable

Example: "Footer"

Valid when: name is not empty

Valid when: name's length doesn't exceed 250 characters


Result

[Menu!]

Preview (typescript)

Loading module