Skip to main content

MenuItem

Represents a single menu item in a navigation menu.

type MenuItem implements Node {
id: ID!
name: String!
sortOrder: Int
level: Int!
lft: Int!
rght: Int!
treeId: Int!
parent: MenuItem
children: [MenuItem!]!
menu: Menu!
page: Page
policy: Policy
category: Category
collection: Collection
seller: Seller
product: Product
content: Content
url: String
}
Show more ↓

Fields

The Globally Unique ID of this object

Parent menu item (null for root items)

Child menu items

The menu this item belongs to

Linked page (if this item links to a page)

Linked policy (if this item links to a policy)

Linked category (if this item links to a category)

Linked collection (if this item links to a collection)

Linked seller (if this item links to a seller)

Linked product (if this item links to a product)

Linked content (if this item links to content)

Custom URL or resolved URL from linked object

Interfaces

Node interface

An object with a Globally Unique ID

Returned By

menuItem query

Member Of

Menu object ● MenuItem object ● MenuItemCountableEdge object ● MenuItemCreate object ● MenuItemDelete object ● MenuItemUpdate object

Was this page helpful?