Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Programmatic access to aggregate sales data by month

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
603 49 105

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.