Query Total Sales of last 60 days

What is the easiest way to query the total sales of the last 60 days?

(through the api)

Hello @martinmakesitwo ,

If you have a shop on an Advanced or Plus subscription as well as an embedded app, you could use our Report API to get this information.

Outside of that, you could use our Order API but you would need to add up the total order value manually.

1 Like

Hello martinmakesitwo,

Using Sales schema(Graph QL) You can Get Total sales of perticular Day’s. Please Reffer Below link

  1. https://help.shopify.com/en/api/reference/analytics/shopify-ql/sales.
1 Like

It’s worth noting that this is the same resource that I had mentioned, and requires a shop on an Advanced or Plus subscription - it also uses ShopifyQL, a Shopify query language, not GraphQL.

1 Like