Content > Menus > menusCreate
POST:menus.json
Description
Create one ore more menus.
Permission bit: "menus.create"
Topic: Menus
Arguments
data: [MenuCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
custom_fields: [CustomFieldCreate!]
Menu handle (you can lookup menu using a handle)
Example: "footer"
Valid when: handle's length doesn't exceed 250 characters
items: [MenuItemCreate!]
Menu items
Menu name
Example: "Footer"
Valid when: name is not empty
Valid when: name's length doesn't exceed 250 characters
Result
[Menu!]
Preview (typescript)
Loading module