How to get Gross Sales from Shopify?

My team and I are in the process of building datasets from Shopify's API but we are not able to get the gross sales amount to match with the gross sales amount in the Shopify's dashboard.
Does anyone have any insights on this?
We selected the report "All Orders". We have played with all columns, total_price, subtotal_price, total_discounts, total_tax and others.
Thanks
Best Answer
-
According to their documentation Net Sales is Gross - Discounts - Returns + Taxes + Shipping so you should be able to back into Gross sales with:
Gross = total_price + total_discounts + returns - total_tax - total_shipping_price_set_presentment_money_amount
Refunds/Returns isn't included in the All Orders report in the API, you'll also need to pull the Refunds report.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
According to their documentation Net Sales is Gross - Discounts - Returns + Taxes + Shipping so you should be able to back into Gross sales with:
Gross = total_price + total_discounts + returns - total_tax - total_shipping_price_set_presentment_money_amount
Refunds/Returns isn't included in the All Orders report in the API, you'll also need to pull the Refunds report.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 470 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 193 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 174 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive