MenuItem
Represents a single item of the related menu. Can store categories, collection, pages, sellers, products, content or policy pages.
type MenuItem implements Node {
id: ID!
menu: Menu!
name: String!
parent: MenuItem
category: Category
collection: Collection
page: Page
seller: Seller
product: Product
content: Content
policy: Policy
level: Int!
children: [MenuItem!]!
url: String
}
Fields
MenuItem.id ● ID! non-null scalar
The ID of the object
MenuItem.menu ● Menu! non-null object
MenuItem.name ● String! non-null scalar
MenuItem.parent ● MenuItem object
MenuItem.category ● Category object
MenuItem.collection ● Collection object
MenuItem.page ● Page object
MenuItem.seller ● Seller object
MenuItem.product ● Product object
MenuItem.content ● Content object
MenuItem.policy ● Policy object
MenuItem.level ● Int! non-null scalar
MenuItem.children ● [MenuItem!]! non-null object
MenuItem.url ● String scalar
URL to the menu item.
Interfaces
Node interface
An object with an ID
Returned By
menuItem query
Member Of
Menu object ● MenuItem object ● MenuItemCountableEdge object ● MenuItemCreate object ● MenuItemDelete object ● MenuItemUpdate object