What is the easiest way to query the total sales of the last 60 days?
(through the api)
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.
Hello martinmakesitwo,
Using Sales schema(Graph QL) You can Get Total sales of perticular Day’s. Please Reffer Below link
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.