Connect Shopify to BigQuery
Orders, net payment and units ordered from Shopify, by order or product, in your own BigQuery dataset. Add Day or Week starting to a report and history builds up.
- One table per report, named after it: fs_orders_by_day, for example.
- Refreshes every day on Plus, every 6 hours on Pro and every hour on Max.
- Up to 10,000 orders a report.
30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.
| day | orders | net_ |
|---|---|---|
| 2026-10-20 | 65 | 2447.74 |
| 2026-10-19 | 64 | 2495.84 |
| 2026-10-18 | 57 | 2278.10 |
| 2026-10-17 | 56 | 2311.63 |
| 2026-10-16 | 50 | 2092.00 |
How to connect Shopify to BigQuery
To move data from Shopify to BigQuery you need a Google Cloud project with a dataset in it, and a Shopify store you can create an app in.
- In your Shopify admin, create an app with the two order-reading permissions and install it. On the Sources page, choose Connect store and enter the store address, client ID and client secret, then choose Check and save.
- In Fresh Sheets, go to Destinations and choose Add a dataset. Enter the project ID and dataset ID.
- In Google Cloud, give the account Fresh Sheets shows you the BigQuery Data Editor role on your dataset, and add the label it shows.
- Back in Fresh Sheets, choose Check and add.
- Choose New report, pick Shopify and the account, then the report type, fields and date range.
- Under Destination, pick your dataset and name the table. Under Schedule, pick how often. Then Save and run.
Columns Shopify writes to BigQuery
Each report is one table: the columns you pick, plus _fs_written_at, the time the row landed. Money is in the account's own currency.
| Column | Type | Fresh Sheets field | Available at |
|---|---|---|---|
day | DATE | Day | Every level |
week | DATE | Week starting | Every level |
month | STRING | Month | Every level |
order_ | STRING | Order | Orders |
sales_ | STRING | Sales channel | Orders |
financial_ | STRING | Payment status | Orders |
fulfillment_ | STRING | Fulfilment status | Orders |
cancelled | STRING | Cancelled | Orders |
currency | STRING | Currency | Every level |
product | STRING | Product | Products sold |
variant | STRING | Variant | Products sold |
sku | STRING | SKU | Products sold |
vendor | STRING | Vendor | Products sold |
orders | INT64 | Orders | Orders |
subtotal | NUMERIC | Subtotal | Orders |
discounts | NUMERIC | Discounts | Orders |
shipping | NUMERIC | Shipping | Orders |
tax | NUMERIC | Tax | Orders |
total | NUMERIC | Total | Orders |
refunded | NUMERIC | Refunded | Orders |
net_ | NUMERIC | Net payment | Orders |
units_ | INT64 | Units ordered | Products sold |
units_ | INT64 | Units kept | Products sold |
sales_ | NUMERIC | Sales before discounts | Products sold |
line_ | NUMERIC | Line discounts (excluding order discounts) | Products sold |
Test orders are left out. Amounts are in your store's currency, and days are in its time zone.
An example
A query for the report saved as Orders by day:
SELECT
day,
SUM(orders) AS orders,
SUM(net_payment) AS net_payment
FROM `your-project.your_dataset.fs_orders_by_day`
WHERE day >= DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY)
GROUP BY day
ORDER BY day DESC, orders DESC;Scheduling and refresh
Include Day or Week starting and each run replaces only its own dates, so history builds up. Leave it out and each run replaces the whole table.
Try it with your own Shopify data in BigQuery.
Other ways to do it
Google's BigQuery Data Transfer Service has a Shopify connector in preview, with no transfer charge while it's in preview.
Source: Google Cloud: Shopify transfers
This Shopify BigQuery connector sends the order reports you build, totalled the way you choose.
What this doesn't cover
Customer details, your product catalogue and inventory aren't included. This reads orders and the products sold in them.
Questions
How do I connect Shopify to BigQuery?
Create an app in your Shopify admin with the two order-reading permissions, then choose Connect store on the Sources page. Add your dataset under Destinations and build an orders or products sold report that sends to it.
Other sources to BigQuery
Analytics
Advertising
- Shopify to Google Sheets
- More on BigQuery
- Shopify to Excel
- How to export Shopify orders to Google Sheets
- Shopify in Claude
Last checked 22 October 2026
Send your Shopify orders to BigQuery
BigQuery is included in your 30 days of Plus, then on every paid plan.
30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.
Paid plans from £15 a month, or £12 a month billed annually.
