Anchor to menu
querymenu
Retrieves a Menu by 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.
Anchor to Arguments
Arguments
- handle (String!)
- Anchor to handlehandle•String!required
The navigation menu's handle.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Menu (Menu)
- Anchor to MenuMenu•Menu
A navigation structure for building store menus. Each menu contains
objects that can be nested to create multi-level navigation hierarchies.Menu items can link to collections, products, pages, blogs, or external URLs. Use the
menuquery to retrieve a menu by its handle.- Anchor to handlehandle•String!non-null Token access required
The menu's handle.
- •ID!non-null Token access required
A globally-unique ID.
- Anchor to itemsitems•[Menu
Item!]! non-null Token access required The menu's child items.
- Anchor to itemsCountitems•Int!
Count non-null Token access required The count of items on the menu.
- Anchor to titletitle•String!non-null Token access required
The menu's title.
Was this section helpful?