New Shopify Certification now available: Liquid Storefronts for Theme Developers

Programmatic access to aggregate sales data by month

parker_alvin
Shopify Partner
3 0 0

For any given client of ours, I'd like to be able to fetch their Shopify store revenue by month for the at least the past year.

 

I know I can create reports and see/export them manually through the Shopify Partners UI (assuming the client has given me access), but I'm looking for a way to automate this. Any suggestions?

Reply 1 (1)
CloudlabSam
Shopify Partner
495 41 80

You would need to call the API to get all orders and then aggregate them yourself. Shopify used to have a ShopQL API, but they deprecated it.

 

There are a number of 3rd-party reporting apps that could help automate this for you.