Hi everyone,
I’m working on a project where I need to fetch Gross Sales and Net Sales data with 100% accuracy as a developer.
Right now, I know I can use the Admin API (REST/GraphQL) to fetch order data and calculate sales, discounts, returns, and taxes on my side. But I’ve also read that sometimes this method may not always give real-time or fully accurate data (for example, when handling refunds, adjustments, or cancellations).
My question is:
What’s the best practice or recommended approach to get fully accurate Gross Sales and Net Sales numbers directly from Shopify?
Is there an API or report endpoint that guarantees 100% accurate data, or do developers usually need to build their own calculation logic from order data?
If anyone has experience or examples of how you’ve solved this, it would be really helpful.
Thanks in advance!