query {
menus (first: 250) {
edges{
node{
id
title
}
}
}
}
which permission is needed?
Access denial when querying the menus field via GraphQL. The user provided a query requesting up to 250 menus and selecting id and title, and asked which permission is required.
Resolution: If using the GraphQL Admin API, the operation requires the read_online_store_navigation access scope. This scope enables access to online store navigation data needed to read menus.
No alternative APIs or scopes were discussed, and no code changes were suggested beyond ensuring the correct access scope. The outcome is effectively resolved for Admin API usage; applicability to other APIs (e.g., Storefront) was not addressed. The discussion remains otherwise minimal with no additional action items.
query {
menus (first: 250) {
edges{
node{
id
title
}
}
}
}
which permission is needed?
Hi , there
If you are using Graphql admin API ,
then Requires read_online_store_navigation access scope.