Anchor to menu
menu
query
Returns a Menu resource by ID.
Anchor to Possible returnsPossible returns
- Anchor to MenuMenu•
A menu for display on the storefront.
- handle•String!non-null
The menu's handle.
- id•ID!non-null
A globally-unique ID.
- is
Default •Boolean!non-null Whether the menu is a default. The handle for default menus can't be updated and default menus can't be deleted.
- items•[Menunon-null
Item!]! A list of items on the menu sorted by position.
- title•String!non-null
The menu's title.
- translations•[Translation!]!non-null
The published translations associated with the resource.
- handle•
Was this section helpful?
Query Reference
{
menu(id) {
# menu fields
}
}