Anchor to Menu
objectMenu
Requires access scope.
Anchor to FieldsFields
- handle (String!)
- id (ID!)
- items ([MenuItem!]!)
- itemsCount (Int!)
- title (String!)
- Anchor to handlehandle•String!non-null
The menu's handle.
- •ID!non-null
A globally-unique ID.
- Anchor to itemsitems•[Menu
Item!]! non-null The menu's child items.
- Anchor to itemsCountitems•Int!
Count non-null The count of items on the menu.
- Anchor to titletitle•String!non-null
The menu's title.
Was this section helpful?
Anchor to QueriesQueries
- menu (Menu)
- •query
Retrieves a
Menuby its handle. Menus are hierarchical navigation structures that merchants configure for their storefront, such as header and footer navigation.Each menu contains
objects that can nest up to three levels deep, with each item linking to collections, products, pages, blogs, or external URLs.- •String!required
The navigation menu's handle.
Arguments
- •String!
Was this section helpful?