Get Shopify Analytics Data or Reports by API

I manage multiple Shopify stores and am currently developing an app to retrieve Shopify reports. My goal is to ensure that the reports generated match exactly with the ones provided by Shopify.

I have already attempted to fetch data using Shopify’s GraphQL API and aggregate it manually. However, I have encountered discrepancies, and the data is not 100% accurate.

Could you advise if there is an alternative approach, such as creating a custom Shopify app or utilizing another method, to obtain accurate reports?

Kindly help Thanks.

Hi onlyibrahim,

Can you describe the discrepancies/ inaccuracies? With the upcoming deprecation of ShopifyQL we do recommend using the Admin API (specifically querying order data) to get sales analytics data.