Types > MenuItem
Commerce APITypesMenuItem
MenuItem

Description

Fields

category: Category

Category this menu item refers to

Expandable

Permission bit: "categories.read"


content_block: ContentBlock

Content block this menu item refers to

Expandable

Permission bit: "content_blocks.read"


id: String!

Unique menu item identifier. See also: Unique Identifiers

Example: "mi_EQzGqWoY"


link: String

HTTP(S) link

Example: "https://google.com"


meta: String

Arbitrary text value for meta type

Example: "home"


name: String!

Name of the menu item

Translatable

Example: "T-Shirts"


parent_index: Int!

Index of the parent item if any

Example: 0


product: Product

Product this menu item refers to

Expandable

Permission bit: "products.read"


query: String

Search query

Example: "?type=category"


type: MenuItemType!

Type of the menu item

Example: "category"


Used By

Types

Menu

Preview (typescript)

Loading module