Required permissions for accessing non-PII aggregated data

Hey @gabe1,

Level 2 customer data access is required for all shopifyqlQuery calls, even when your query doesn’t touch PII. Another developer ran into this:

Short answer: shopifyqlQuery grants access to all Analytics data. Granular scopes don’t apply to different data types. Since customer data can be accessed through some ShopifyQL queries, Level 2 is required for all of them.