I am trying to retrieve total sales for my stores via the graphQL API, ideally it would be in the format as this endpoint:
-
Request URL:
https://analytics.shopify.com/queries?beta=true&dataOnly=false -
Query: “SHOW orders, gross_sales, discounts, returns, net_sales, shipping, duties, additional_fees, taxes, total_sales FROM sales SINCE 2022-10-29 UNTIL 2022-10-29”
I have attempted to use “shopifyqlQuery” but have only received errors