Skip to main content
query

Requires read_online_store_navigation access scope.

Deprecated. Use mainMenu instead. It returns the same menu as a Menu. Menu and item IDs use the Menu and MenuItem types, resourceId uses the Page, Blog and Article types, and url returns links as saved, with relative paths for the shop's own resources.

Returns the main navigation menu for the shop.

•NavigationMenu

The top level navigation menu for the shop.

Show fields
•ID!
non-null

A globally-unique ID.

•[NavigationMenuItem!]!
non-null

A list of items on the menu sorted by position.

Show fields

Arguments

•Int

The number of menu items to be returned.


•String!
non-null

The menu's title.

•[Translation!]!
non-null

The published translations associated with the resource.

Show fields

Arguments

•String!
required

Filters translations locale.

•ID

Filters translations by market ID. Use this argument to retrieve content specific to a market.



Was this section helpful?