Hi Sehnem,
Currently, Shopify does not provide a direct query to get the scopes needed for each GraphQL type. However, the access scopes required for each type of data can be inferred from the Shopify documentation.
For example, to access order data, your app needs the read_orders or read_all_orders scope. For accessing product data, your app requires the read_products scope.
To manage the scopes of your app, you must:
- Request the desired scopes during the OAuth process.
- Check the granted scopes in the OAuth response.
Remember that the scopes granted to your app are dependent on the permissions given by the user during the OAuth process.
If your app needs to access certain types that are not included in your current access scopes, you must undergo the OAuth process again, this time requesting the additional scopes.
Hope this helps!