How to get the same gross sales value as the Sales Over Time Report via Shopify API?

Greenwich
New Member
2 0 0

Using this endpoint, I retrieve a list of orders between 01 Aug and 31 Aug:

/admin/api/2020-07/orders.json?status=any&created_at_min=2021-08-01T00:00:00+01:00&created_at_max=2020-08-31T11:59:00+01:00&limit=250

 I calculate the gross sales by taking the sum of the "total_price" of each order. This value matches the Total Sales Breakdown > Orders value on the right panel in the home dashboard. What I don't understand is the different value being displayed under the Gross Sales column in the Sales Over Time Report page. Is there a way I can get that same value using the Shopify API orders endpoint? 

Reply 1 (1)
Greenwich
New Member
2 0 0

Sorry, the endpoint I used was actually:

/admin/api/2020-07/orders.json?status=any&created_at_min=2021-08-01T00:00:00+01:00&created_at_max=2021-09-01T00:00:00+01:00&limit=250