Link
Represents a single navigational link, which may point to a product, category, page, article, or an external URL. Links can be nested to form hierarchical menus.
Type Definition
type Link {
levels: Int
links: [Link]
title: String
type: String
url: String
target: String
product: Product
productGroup: ProductGroup
page: Page
article: Article
}Fields
Relationships
The Link type represents navigational elements within a hierarchical structure. Links can be self-referential through the links field, allowing for nested menu hierarchies. Additionally, a link can reference various content types: it may point to a Product through the product field, to a ProductGroup through the productGroup field, to a Page through the page field, or to an Article through the article field. The type field indicates which of these related types the link actually references.
Example
{
levels
title
type
url
target
links {
title
url
type
}
product {
id
name
}
productGroup {
id
name
}
}Implements
None