---
title: "Shopify · WitCloud Docs"
description: "Learn how to create a Shopify custom app and connect Shopify to Google BigQuery using WitCloud to collect orders, products, refunds, returns, store…"
canonical_url: "https://witcloud.ai/docs/integrations/shopify"
meta:
  "og:description": "Learn how to create a Shopify custom app and connect Shopify to Google BigQuery using WitCloud to collect orders, products, refunds, returns, store…"
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Shopify · WitCloud Docs"
---

> Index of every page on this site: [llms.txt](https://witcloud.ai/llms.txt)

# Integration of Shopify with BigQuery

Learn how to create a Shopify custom app and connect Shopify to Google BigQuery using WitCloud to collect orders, products, refunds, returns, store navigation, inventory levels and marketing consents.

Updated 26 Oct 2026

## Introduction

This module connects WitCloud to your **Shopify** store and stores its data in **Google Cloud BigQuery**: orders, products, refunds, returns, store navigation menus, inventory levels per location and customers' marketing consents. Use it to analyze your ecommerce results next to your advertising data.

WitCloud connects to Shopify with the **Client ID** and **Client secret** of a custom app that you create in your own Shopify account. The first part of this page shows how to create it. The second part shows how to set up the integration in WitCloud.

## Before you start: custom app setup

The steps in this section are done in **Shopify's own interface** (the Shopify Dev Dashboard and your store's admin), not in WitCloud. Shopify may change its screens over time; the images show how they looked when this page was written. They do not contain any real store data.

**Step 1: Open the Dev Dashboard**

Go to the [Shopify Dev Dashboard](https://dev.shopify.com/dashboard) and open the **Apps** section. Click **Create app** in the top right corner. If you don't have a Shopify Partners account yet, you can create one at [partners.shopify.com](https://partners.shopify.com).

![Shopify Dev Dashboard Apps section with the Create app button (Shopify interface)](https://api.witcloud.ai/api/docs/assets/a219ded86077c8de67ad4c71b4f0244f.png)

**Step 2: Create the app**

On the **Create an app** screen choose **Start from Dev Dashboard** (the card on the right). Enter an **App name**, for example "WitCloud Connector", and click **Create**.

![Create an app screen with Start from Dev Dashboard and the App name field (Shopify interface)](https://api.witcloud.ai/api/docs/assets/27d376a45a50620f93f2cad35992abab.png)

**Step 3: Create a version**

In your app open the **Versions** section and click **Create a version**.

![Versions section with the Create a version button (Shopify interface)](https://api.witcloud.ai/api/docs/assets/6f3a976749d999ae400470e40ee26a81.png)

**Step 4: Add the scopes and release the version**

In the **Access** section, paste the permissions (scopes) that WitCloud needs into the **Scopes** field.

| Scope | Required | Used for |
| --- | --- | --- |
| `read_orders` | Yes | Orders, refunds and returns |
| `read_all_orders` | Yes | Orders older than 60 days |
| `read_products` | Yes | Products |
| `read_discounts` | Yes | Discount codes used in orders |
| `read_returns` | Yes | Returns |
| `read_inventory` | Yes | Stock levels |
| `read_locations` | Yes | Inventory levels per location |
| `read_customers` | Yes | Customer details in orders and marketing consents |
| `read_online_store_navigation` | No | Store navigation menus |

WitCloud checks that all required scopes are granted when you save the credentials. Without `read_online_store_navigation` the integration works, but the **store\_navigation** table stays empty or reports an error.

Paste all scopes at once, separated by commas: `read_all_orders,read_customers,read_discounts,read_inventory,read_locations,read_orders,read_products,read_returns,read_online_store_navigation`

The orders and marketing consents tables contain customers' names, email addresses and phone numbers. Shopify gives an app access to them only after you request access to **protected customer data** in the app's settings (the name, email and phone fields). Without it, these fields stay empty.

Then click **Release** at the top of the page.

**Step 5: Confirm the release**

In the **Release this new version?** dialog you can optionally enter a version name and message. Click **Release** to confirm.

![Release dialog with the optional version name and message (Shopify interface)](https://api.witcloud.ai/api/docs/assets/1e026bb2d55426086ba3ba6e994acfe9.png)

Already connected Shopify before and adding new scopes now? Add them to your app, release a new version and accept the new permissions in your store. The integration keeps working in the meantime; only the tables that need the new scopes report an error until then.

**Step 6: Install the app on your store**

Open the **Home** section of the app and click **Install app**. Shopify asks you to choose the store (if you have several) and shows the permissions the app requests. Click **Install** to confirm.

![App Home section with the Install app button (Shopify interface)](https://api.witcloud.ai/api/docs/assets/bb28ce5ca940312e8560d3341d145db7.png)

After the installation Shopify may open an **Example Domain** page. This is expected: the app uses a placeholder app URL. Close that tab and go back to the Dev Dashboard.

**Step 7: Copy the Client ID and the secret**

In the app open the **Settings** section. In **Credentials** copy the **Client ID**, then click the eye icon next to **Secret** to reveal it and copy it too. You will paste both values into WitCloud. Treat the secret like a password and do not share it.

**Done!** You have the **Client ID** and **Client secret** you need to authorize Shopify in WitCloud.

## Configuration guide

Follow the steps below to connect Shopify with BigQuery. Once the setup is complete, your Shopify data is transferred to your BigQuery project.

### Module setup

Go to **Integrations** in the menu and click **Add integration**.

![Integrations list with the Add integration button](https://api.witcloud.ai/api/docs/assets/c8b72213ef23354505be3b578545e618.png)

Select **Shopify** from the list of available integrations.

![Integration catalog filtered to Shopify](https://api.witcloud.ai/api/docs/assets/2c1d92a7753e98e0af554f1e0f5535ca.png)

Enter the **Collect name**, e.g. "Shopify PL". A good name helps you identify the data source later.

![Collect name field filled in with the example name Shopify PL](https://api.witcloud.ai/api/docs/assets/4ae5fd13ed1e147dc2764a352073cb0a.png)

Enter the **Shop URI**: the address of your store in the `myshopify.com` domain, including `https://`, e.g. `https://your-store.myshopify.com` (not your custom domain). The **Authorize** button stays inactive until you enter a valid address.

![Shop URI field filled in with the example address https://demo-shop.myshopify.com](https://api.witcloud.ai/api/docs/assets/d87cdb7741c9aba3367269564e663655.png)

### Authorization

If you have already authorized Shopify in WitCloud, you can pick the existing token from the **Shopify authorization** drop-down and skip the next two steps.

Click **Authorize**.

![Authorize button next to the Shopify authorization field, active once the shop address is filled in](https://api.witcloud.ai/api/docs/assets/035db0e1cf9b925ac5c8e7d42c50b2b4.png)

In the **Authorize** pop-up enter the **Client ID** and the **Client secret** you copied from Shopify and click **Create**. If Shopify does not accept the credentials, or the app lacks a required permission, the reason is shown under the form.

![Authorize pop-up with the Client ID and Client secret fields filled with example values](https://api.witcloud.ai/api/docs/assets/db9de201c98decd527802391131e9ab8.png)

The saved token is selected automatically. You can also choose a token from the **Shopify authorization** drop-down.

![Shopify authorization drop-down open with one example token](https://api.witcloud.ai/api/docs/assets/11a344d89a3e1b1b9d0d35ef22ff71c4.png)

### Advanced settings

Click **Show advanced settings** to see two more fields.

In **Data freshness (products, stocks)** enter how often, in hours, tables that hold the whole catalogue (products, inventory levels and store navigation) are refreshed. The value must be between 4 and 12 hours; the default is 4.

![Advanced settings open with the Data freshness field set to 4 hours](https://api.witcloud.ai/api/docs/assets/4c1dc1ed75db5e1b1dfebb57847040df.png)

In **Tables to collect** you can remove the tables you do not need: **products**, **orders**, **returns**, **refunds**, **store\_navigation**, **inventory\_levels** and **marketing\_consents**. All of them are selected by default and at least one must stay selected. Collecting fewer tables makes the data retrieval faster.

![Tables to collect field with the Shopify tables selected](https://api.witcloud.ai/api/docs/assets/12af31eb1b8939875731ea0d5e9c9983.png)

In an integration created earlier, new tables are not added to **Tables to collect** automatically. Edit the integration and select them to start collecting them.

Click **Next**.

![Collect settings filled in with the Next button](https://api.witcloud.ai/api/docs/assets/a988077d460a040fd25f5dad11db744c.png)

### Historical data and scheduling

In **Historical Data** enter the number of days to fetch on the first run, up to 365.

![Historical Data field filled in with 365 days](https://api.witcloud.ai/api/docs/assets/df16e4d0466a5409da17c482402604de.png)

A data synchronization schedule is created automatically. More information on this topic can be found [here](https://witcloud.ai/docs/workflow#auto-workflows).

Click **Create** to complete the configuration.

![Data collection settings with the Create button](https://api.witcloud.ai/api/docs/assets/9b641293667fd3740ca5acef17c42ebe.png)

**Done!** Your Shopify data will now be synchronized with BigQuery, providing you with detailed insights into the performance of your store.

## Data schema

Expand the tables below to view the full data schema collected from Shopify.

- **Orders, returns and refunds** are collected day by day, by the date they were created. A day is a calendar day in the timezone of the integration's schedule.
- **Marketing consents** are collected day by day too, by the date the customer was last updated. A day holds the customers created that day and those whose email or SMS consent changed that day, so the newest row of each customer is their current consent. The `is_new`, `email_consent_changed` and `sms_consent_changed` columns tell why a customer is in a given day.
- **Products, inventory levels and store navigation** are collected as a full copy of the current state and are refreshed according to **Data freshness**.

To get each customer's current consent, take their newest row:

```sql
SELECT *
FROM `your_project.your_dataset.shopify_marketing_consents_<collect_id>`
WHERE TRUE
QUALIFY ROW_NUMBER() OVER (PARTITION BY admin_graphql_api_id ORDER BY updated_at DESC) = 1
```

Join it to orders on `customer.admin_graphql_api_id`. Marketing consent states are `SUBSCRIBED`, `NOT_SUBSCRIBED`, `UNSUBSCRIBED`, `PENDING`, `REDACTED` and `INVALID`; only `SUBSCRIBED` customers have agreed to marketing.

<details>

<summary>

Columns of <code>shopify_orders</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| id | NULLABLE | STRING |
| admin\_graphql\_api\_id | NULLABLE | STRING |
| name | NULLABLE | STRING |
| order\_number | NULLABLE | INTEGER |
| number | NULLABLE | INTEGER |
| created\_at | NULLABLE | TIMESTAMP |
| updated\_at | NULLABLE | TIMESTAMP |
| processed\_at | NULLABLE | TIMESTAMP |
| cancelled\_at | NULLABLE | TIMESTAMP |
| currency | NULLABLE | STRING |
| tags | REPEATED | STRING |
| note | NULLABLE | STRING |
| financial\_status | NULLABLE | STRING |
| fulfillment\_status | NULLABLE | STRING |
| discount\_codes | REPEATED | STRING |
| payment\_gateway\_names | REPEATED | STRING |
| taxes\_included | NULLABLE | BOOLEAN |
| subtotal\_price\_set | NULLABLE | RECORD |
| subtotal\_price\_set.shop\_money | NULLABLE | RECORD |
| subtotal\_price\_set.shop\_money.amount | NULLABLE | FLOAT |
| subtotal\_price\_set.shop\_money.currency\_code | NULLABLE | STRING |
| subtotal\_price\_set.presentment\_money | NULLABLE | RECORD |
| subtotal\_price\_set.presentment\_money.amount | NULLABLE | FLOAT |
| subtotal\_price\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| total\_tax\_set | NULLABLE | RECORD |
| total\_tax\_set.shop\_money | NULLABLE | RECORD |
| total\_tax\_set.shop\_money.amount | NULLABLE | FLOAT |
| total\_tax\_set.shop\_money.currency\_code | NULLABLE | STRING |
| total\_tax\_set.presentment\_money | NULLABLE | RECORD |
| total\_tax\_set.presentment\_money.amount | NULLABLE | FLOAT |
| total\_tax\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| total\_price\_set | NULLABLE | RECORD |
| total\_price\_set.shop\_money | NULLABLE | RECORD |
| total\_price\_set.shop\_money.amount | NULLABLE | FLOAT |
| total\_price\_set.shop\_money.currency\_code | NULLABLE | STRING |
| total\_price\_set.presentment\_money | NULLABLE | RECORD |
| total\_price\_set.presentment\_money.amount | NULLABLE | FLOAT |
| total\_price\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| tax\_lines | REPEATED | RECORD |
| tax\_lines.title | NULLABLE | STRING |
| tax\_lines.price\_set | NULLABLE | RECORD |
| tax\_lines.price\_set.shop\_money | NULLABLE | RECORD |
| tax\_lines.price\_set.shop\_money.amount | NULLABLE | FLOAT |
| tax\_lines.price\_set.shop\_money.currency\_code | NULLABLE | STRING |
| tax\_lines.price\_set.presentment\_money | NULLABLE | RECORD |
| tax\_lines.price\_set.presentment\_money.amount | NULLABLE | FLOAT |
| tax\_lines.price\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| tax\_lines.rate | NULLABLE | FLOAT |
| tax\_lines.rate\_percentage | NULLABLE | FLOAT |
| tax\_lines.channel\_liable | NULLABLE | BOOLEAN |
| customer | NULLABLE | RECORD |
| customer.admin\_graphql\_api\_id | NULLABLE | STRING |
| customer.first\_name | NULLABLE | STRING |
| customer.last\_name | NULLABLE | STRING |
| customer.email | NULLABLE | STRING |
| billing\_address | NULLABLE | RECORD |
| billing\_address.name | NULLABLE | STRING |
| billing\_address.address1 | NULLABLE | STRING |
| billing\_address.address2 | NULLABLE | STRING |
| billing\_address.city | NULLABLE | STRING |
| billing\_address.province | NULLABLE | STRING |
| billing\_address.province\_code | NULLABLE | STRING |
| billing\_address.country | NULLABLE | STRING |
| billing\_address.zip | NULLABLE | STRING |
| billing\_address.phone | NULLABLE | STRING |
| shipping\_address | NULLABLE | RECORD |
| shipping\_address.name | NULLABLE | STRING |
| shipping\_address.address1 | NULLABLE | STRING |
| shipping\_address.address2 | NULLABLE | STRING |
| shipping\_address.city | NULLABLE | STRING |
| shipping\_address.province | NULLABLE | STRING |
| shipping\_address.province\_code | NULLABLE | STRING |
| shipping\_address.country | NULLABLE | STRING |
| shipping\_address.zip | NULLABLE | STRING |
| shipping\_address.phone | NULLABLE | STRING |
| shipping\_lines | REPEATED | RECORD |
| shipping\_lines.title | NULLABLE | STRING |
| shipping\_lines.original\_price\_set | NULLABLE | RECORD |
| shipping\_lines.original\_price\_set.shop\_money | NULLABLE | RECORD |
| shipping\_lines.original\_price\_set.shop\_money.amount | NULLABLE | FLOAT |
| shipping\_lines.original\_price\_set.shop\_money.currency\_code | NULLABLE | STRING |
| shipping\_lines.discounted\_price\_set | NULLABLE | RECORD |
| shipping\_lines.discounted\_price\_set.shop\_money | NULLABLE | RECORD |
| shipping\_lines.discounted\_price\_set.shop\_money.amount | NULLABLE | FLOAT |
| shipping\_lines.discounted\_price\_set.shop\_money.currency\_code | NULLABLE | STRING |
| shipping\_lines.tax\_lines | REPEATED | RECORD |
| shipping\_lines.tax\_lines.title | NULLABLE | STRING |
| shipping\_lines.tax\_lines.price\_set | NULLABLE | RECORD |
| shipping\_lines.tax\_lines.price\_set.shop\_money | NULLABLE | RECORD |
| shipping\_lines.tax\_lines.price\_set.shop\_money.amount | NULLABLE | FLOAT |
| shipping\_lines.tax\_lines.price\_set.shop\_money.currency\_code | NULLABLE | STRING |
| shipping\_lines.tax\_lines.price\_set.presentment\_money | NULLABLE | RECORD |
| shipping\_lines.tax\_lines.price\_set.presentment\_money.amount | NULLABLE | FLOAT |
| shipping\_lines.tax\_lines.price\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| shipping\_lines.tax\_lines.rate | NULLABLE | FLOAT |
| shipping\_lines.tax\_lines.rate\_percentage | NULLABLE | FLOAT |
| shipping\_lines.tax\_lines.channel\_liable | NULLABLE | BOOLEAN |
| fulfillments | REPEATED | RECORD |
| fulfillments.admin\_graphql\_api\_id | NULLABLE | STRING |
| fulfillments.created\_at | NULLABLE | TIMESTAMP |
| fulfillments.status | NULLABLE | STRING |
| fulfillments.tracking\_info | REPEATED | RECORD |
| fulfillments.tracking\_info.company | NULLABLE | STRING |
| fulfillments.tracking\_info.number | NULLABLE | STRING |
| fulfillments.tracking\_info.url | NULLABLE | STRING |
| line\_items | REPEATED | RECORD |
| line\_items.admin\_graphql\_api\_id | NULLABLE | STRING |
| line\_items.title | NULLABLE | STRING |
| line\_items.quantity | NULLABLE | INTEGER |
| line\_items.taxable | NULLABLE | BOOLEAN |
| line\_items.tax\_lines | REPEATED | RECORD |
| line\_items.tax\_lines.title | NULLABLE | STRING |
| line\_items.tax\_lines.price\_set | NULLABLE | RECORD |
| line\_items.tax\_lines.price\_set.shop\_money | NULLABLE | RECORD |
| line\_items.tax\_lines.price\_set.shop\_money.amount | NULLABLE | FLOAT |
| line\_items.tax\_lines.price\_set.shop\_money.currency\_code | NULLABLE | STRING |
| line\_items.tax\_lines.price\_set.presentment\_money | NULLABLE | RECORD |
| line\_items.tax\_lines.price\_set.presentment\_money.amount | NULLABLE | FLOAT |
| line\_items.tax\_lines.price\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| line\_items.tax\_lines.rate | NULLABLE | FLOAT |
| line\_items.tax\_lines.rate\_percentage | NULLABLE | FLOAT |
| line\_items.tax\_lines.channel\_liable | NULLABLE | BOOLEAN |
| line\_items.discounted\_total\_set | NULLABLE | RECORD |
| line\_items.discounted\_total\_set.shop\_money | NULLABLE | RECORD |
| line\_items.discounted\_total\_set.shop\_money.amount | NULLABLE | FLOAT |
| line\_items.discounted\_total\_set.shop\_money.currency\_code | NULLABLE | STRING |
| line\_items.discounted\_total\_set.presentment\_money | NULLABLE | RECORD |
| line\_items.discounted\_total\_set.presentment\_money.amount | NULLABLE | FLOAT |
| line\_items.discounted\_total\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| line\_items.original\_total\_set | NULLABLE | RECORD |
| line\_items.original\_total\_set.shop\_money | NULLABLE | RECORD |
| line\_items.original\_total\_set.shop\_money.amount | NULLABLE | FLOAT |
| line\_items.original\_total\_set.shop\_money.currency\_code | NULLABLE | STRING |
| line\_items.original\_total\_set.presentment\_money | NULLABLE | RECORD |
| line\_items.original\_total\_set.presentment\_money.amount | NULLABLE | FLOAT |
| line\_items.original\_total\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| line\_items.discount\_allocations | REPEATED | RECORD |
| line\_items.discount\_allocations.allocated\_amount\_set | NULLABLE | RECORD |
| line\_items.discount\_allocations.allocated\_amount\_set.shop\_money | NULLABLE | RECORD |
| line\_items.discount\_allocations.allocated\_amount\_set.shop\_money.amount | NULLABLE | FLOAT |
| line\_items.discount\_allocations.allocated\_amount\_set.shop\_money.currency\_code | NULLABLE | STRING |
| line\_items.discount\_allocations.allocated\_amount\_set.presentment\_money | NULLABLE | RECORD |
| line\_items.discount\_allocations.allocated\_amount\_set.presentment\_money.amount | NULLABLE | FLOAT |
| line\_items.discount\_allocations.allocated\_amount\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| line\_items.discounted\_unit\_price\_after\_all\_discounts\_set | NULLABLE | RECORD |
| line\_items.discounted\_unit\_price\_after\_all\_discounts\_set.shop\_money | NULLABLE | RECORD |
| line\_items.discounted\_unit\_price\_after\_all\_discounts\_set.shop\_money.amount | NULLABLE | FLOAT |
| line\_items.discounted\_unit\_price\_after\_all\_discounts\_set.shop\_money.currency\_code | NULLABLE | STRING |
| line\_items.discounted\_unit\_price\_after\_all\_discounts\_set.presentment\_money | NULLABLE | RECORD |
| line\_items.discounted\_unit\_price\_after\_all\_discounts\_set.presentment\_money.amount | NULLABLE | FLOAT |
| line\_items.discounted\_unit\_price\_after\_all\_discounts\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| line\_items.discounted\_unit\_price\_set | NULLABLE | RECORD |
| line\_items.discounted\_unit\_price\_set.shop\_money | NULLABLE | RECORD |
| line\_items.discounted\_unit\_price\_set.shop\_money.amount | NULLABLE | FLOAT |
| line\_items.discounted\_unit\_price\_set.shop\_money.currency\_code | NULLABLE | STRING |
| line\_items.discounted\_unit\_price\_set.presentment\_money | NULLABLE | RECORD |
| line\_items.discounted\_unit\_price\_set.presentment\_money.amount | NULLABLE | FLOAT |
| line\_items.discounted\_unit\_price\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| line\_items.variant | NULLABLE | RECORD |
| line\_items.variant.admin\_graphql\_api\_id | NULLABLE | STRING |
| line\_items.variant.title | NULLABLE | STRING |
| line\_items.variant.sku | NULLABLE | STRING |
| line\_items.variant.price | NULLABLE | FLOAT |
| line\_items.variant.product | NULLABLE | RECORD |
| line\_items.variant.product.admin\_graphql\_api\_id | NULLABLE | STRING |
| line\_items.variant.product.title | NULLABLE | STRING |
| line\_items.variant.product.handle | NULLABLE | STRING |
| line\_items.variant.inventory\_item | NULLABLE | RECORD |
| line\_items.variant.inventory\_item.admin\_graphql\_api\_id | NULLABLE | STRING |
| line\_items.variant.inventory\_item.measurement | NULLABLE | RECORD |
| line\_items.variant.inventory\_item.measurement.weight | NULLABLE | RECORD |
| line\_items.variant.inventory\_item.measurement.weight.value | NULLABLE | FLOAT |
| line\_items.variant.inventory\_item.measurement.weight.unit | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>shopify_products</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| id | NULLABLE | STRING |
| admin\_graphql\_api\_id | NULLABLE | STRING |
| title | NULLABLE | STRING |
| handle | NULLABLE | STRING |
| status | NULLABLE | STRING |
| tags | REPEATED | STRING |
| vendor | NULLABLE | STRING |
| product\_type | NULLABLE | STRING |
| created\_at | NULLABLE | TIMESTAMP |
| updated\_at | NULLABLE | TIMESTAMP |
| published\_at | NULLABLE | TIMESTAMP |
| body\_html | NULLABLE | STRING |
| category\_name | NULLABLE | STRING |
| is\_bundle | NULLABLE | BOOLEAN |
| bundle\_components | REPEATED | RECORD |
| bundle\_components.product\_id | NULLABLE | STRING |
| bundle\_components.admin\_graphql\_api\_id | NULLABLE | STRING |
| bundle\_components.product\_title | NULLABLE | STRING |
| bundle\_components.quantity | NULLABLE | INTEGER |
| collections | REPEATED | RECORD |
| collections.admin\_graphql\_api\_id | NULLABLE | STRING |
| collections.title | NULLABLE | STRING |
| collections.handle | NULLABLE | STRING |
| image | NULLABLE | RECORD |
| image.admin\_graphql\_api\_id | NULLABLE | STRING |
| image.alt | NULLABLE | STRING |
| image.src | NULLABLE | STRING |
| images | REPEATED | RECORD |
| images.admin\_graphql\_api\_id | NULLABLE | STRING |
| images.alt | NULLABLE | STRING |
| images.src | NULLABLE | STRING |
| options | REPEATED | RECORD |
| options.admin\_graphql\_api\_id | NULLABLE | STRING |
| options.name | NULLABLE | STRING |
| options.values | REPEATED | STRING |
| variants | REPEATED | RECORD |
| variants.admin\_graphql\_api\_id | NULLABLE | STRING |
| variants.title | NULLABLE | STRING |
| variants.sku | NULLABLE | STRING |
| variants.price | NULLABLE | FLOAT |
| variants.compare\_at\_price | NULLABLE | FLOAT |
| variants.barcode | NULLABLE | STRING |
| variants.created\_at | NULLABLE | TIMESTAMP |
| variants.updated\_at | NULLABLE | TIMESTAMP |
| variants.position | NULLABLE | INTEGER |
| variants.inventory\_quantity | NULLABLE | INTEGER |
| variants.selected\_options | REPEATED | RECORD |
| variants.selected\_options.name | NULLABLE | STRING |
| variants.selected\_options.value | NULLABLE | STRING |
| variants.inventory\_item | NULLABLE | RECORD |
| variants.inventory\_item.admin\_graphql\_api\_id | NULLABLE | STRING |
| variants.inventory\_item.measurement | NULLABLE | RECORD |
| variants.inventory\_item.measurement.weight | NULLABLE | RECORD |
| variants.inventory\_item.measurement.weight.value | NULLABLE | FLOAT |
| variants.inventory\_item.measurement.weight.unit | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>shopify_refunds</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| id | NULLABLE | STRING |
| admin\_graphql\_api\_id | NULLABLE | STRING |
| created\_at | NULLABLE | TIMESTAMP |
| updated\_at | NULLABLE | TIMESTAMP |
| note | NULLABLE | STRING |
| order | NULLABLE | RECORD |
| order.admin\_graphql\_api\_id | NULLABLE | STRING |
| order.name | NULLABLE | STRING |
| order.order\_number | NULLABLE | INTEGER |
| total\_refunded\_set | NULLABLE | RECORD |
| total\_refunded\_set.shop\_money | NULLABLE | RECORD |
| total\_refunded\_set.shop\_money.amount | NULLABLE | FLOAT |
| total\_refunded\_set.shop\_money.currency\_code | NULLABLE | STRING |
| total\_refunded\_set.presentment\_money | NULLABLE | RECORD |
| total\_refunded\_set.presentment\_money.amount | NULLABLE | FLOAT |
| total\_refunded\_set.presentment\_money.currency\_code | NULLABLE | STRING |
| refund\_line\_items | REPEATED | RECORD |
| refund\_line\_items.admin\_graphql\_api\_id | NULLABLE | STRING |
| refund\_line\_items.quantity | NULLABLE | INTEGER |
| refund\_line\_items.subtotal\_set | NULLABLE | RECORD |
| refund\_line\_items.subtotal\_set.shop\_money | NULLABLE | RECORD |
| refund\_line\_items.subtotal\_set.shop\_money.amount | NULLABLE | FLOAT |
| refund\_line\_items.subtotal\_set.shop\_money.currency\_code | NULLABLE | STRING |
| refund\_line\_items.total\_tax\_set | NULLABLE | RECORD |
| refund\_line\_items.total\_tax\_set.shop\_money | NULLABLE | RECORD |
| refund\_line\_items.total\_tax\_set.shop\_money.amount | NULLABLE | FLOAT |
| refund\_line\_items.total\_tax\_set.shop\_money.currency\_code | NULLABLE | STRING |
| refund\_line\_items.line\_item | NULLABLE | RECORD |
| refund\_line\_items.line\_item.admin\_graphql\_api\_id | NULLABLE | STRING |
| refund\_line\_items.line\_item.title | NULLABLE | STRING |
| refund\_line\_items.line\_item.sku | NULLABLE | STRING |
| transactions | REPEATED | RECORD |
| transactions.admin\_graphql\_api\_id | NULLABLE | STRING |
| transactions.gateway | NULLABLE | STRING |
| transactions.kind | NULLABLE | STRING |
| transactions.status | NULLABLE | STRING |
| transactions.amount\_set | NULLABLE | RECORD |
| transactions.amount\_set.shop\_money | NULLABLE | RECORD |
| transactions.amount\_set.shop\_money.amount | NULLABLE | FLOAT |
| transactions.amount\_set.shop\_money.currency\_code | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>shopify_returns</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| id | NULLABLE | STRING |
| admin\_graphql\_api\_id | NULLABLE | STRING |
| name | NULLABLE | STRING |
| status | NULLABLE | STRING |
| decline\_reason | NULLABLE | STRING |
| order | NULLABLE | RECORD |
| order.admin\_graphql\_api\_id | NULLABLE | STRING |
| order.name | NULLABLE | STRING |
| order.order\_number | NULLABLE | INTEGER |
| return\_line\_items | REPEATED | RECORD |
| return\_line\_items.admin\_graphql\_api\_id | NULLABLE | STRING |
| return\_line\_items.quantity | NULLABLE | INTEGER |
| return\_line\_items.return\_reason | NULLABLE | STRING |
| return\_line\_items.return\_reason\_note | NULLABLE | STRING |
| return\_line\_items.customer\_note | NULLABLE | STRING |
| reverse\_fulfillment\_orders | REPEATED | RECORD |
| reverse\_fulfillment\_orders.admin\_graphql\_api\_id | NULLABLE | STRING |
| reverse\_fulfillment\_orders.status | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>shopify_store_navigation</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| menu\_handle | NULLABLE | STRING |
| menu\_title | NULLABLE | STRING |
| collection\_handle | NULLABLE | STRING |
| collection\_title | NULLABLE | STRING |
| breadcrumb | NULLABLE | STRING |
| level1\_title | NULLABLE | STRING |
| level1\_handle | NULLABLE | STRING |
| level2\_title | NULLABLE | STRING |
| level2\_handle | NULLABLE | STRING |
| level3\_title | NULLABLE | STRING |
| level3\_handle | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>shopify_inventory_levels</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| id | NULLABLE | STRING |
| admin\_graphql\_api\_id | NULLABLE | STRING |
| sku | NULLABLE | STRING |
| variant\_admin\_graphql\_api\_id | NULLABLE | STRING |
| variant\_title | NULLABLE | STRING |
| product\_admin\_graphql\_api\_id | NULLABLE | STRING |
| product\_title | NULLABLE | STRING |
| location | NULLABLE | RECORD |
| location.id | NULLABLE | STRING |
| location.admin\_graphql\_api\_id | NULLABLE | STRING |
| location.name | NULLABLE | STRING |
| available | NULLABLE | INTEGER |
| on\_hand | NULLABLE | INTEGER |
| committed | NULLABLE | INTEGER |
| incoming | NULLABLE | INTEGER |
| updated\_at | NULLABLE | TIMESTAMP |

</details>

<details>

<summary>

Columns of <code>shopify_marketing_consents</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| id | NULLABLE | STRING |
| admin\_graphql\_api\_id | NULLABLE | STRING |
| email | NULLABLE | STRING |
| phone | NULLABLE | STRING |
| email\_marketing\_state | NULLABLE | STRING |
| email\_marketing\_opt\_in\_level | NULLABLE | STRING |
| email\_marketing\_updated\_at | NULLABLE | TIMESTAMP |
| sms\_marketing\_state | NULLABLE | STRING |
| sms\_marketing\_opt\_in\_level | NULLABLE | STRING |
| sms\_marketing\_updated\_at | NULLABLE | TIMESTAMP |
| data\_sale\_opt\_out | NULLABLE | BOOLEAN |
| is\_new | NULLABLE | BOOLEAN |
| email\_consent\_changed | NULLABLE | BOOLEAN |
| sms\_consent\_changed | NULLABLE | BOOLEAN |
| created\_at | NULLABLE | TIMESTAMP |
| updated\_at | NULLABLE | TIMESTAMP |

</details>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://witcloud.ai/#website","@type":"WebSite","description":"WitCloud is a marketing and e-commerce analytics platform: connect your data, ask AI and track KPIs in one place.","inLanguage":"en-US","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/shopify#webpage","@type":"WebPage","dateModified":"2026-10-26T14:18:32.695Z","description":"Learn how to create a Shopify custom app and connect Shopify to Google BigQuery using WitCloud to collect orders, products, refunds, returns, store…","name":"Shopify · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/shopify","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/shopify#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/shopify"]}],"primaryImageOfPage":{"@id":"https://witcloud.ai/#logo"}},{"@id":"https://witcloud.ai/#identity","@type":"Organization","name":"WitCloud","url":"https://witcloud.ai","logo":{"@id":"https://witcloud.ai/#logo"},"sameAs":[]},{"@id":"https://witcloud.ai/docs/integrations/shopify#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"Shopify","item":"https://witcloud.ai/docs/integrations/shopify","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/shopify#article","dateModified":"2026-10-26T14:18:32.695Z","description":"Learn how to create a Shopify custom app and connect Shopify to Google BigQuery using WitCloud to collect orders, products, refunds, returns, store navigation, inventory levels and marketing consents.","headline":"Shopify","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/shopify#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/shopify#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/shopify#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/shopify#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/shopify#/schema/person/1","@type":"Person","name":"WitCloud"},{"@id":"https://witcloud.ai/#logo","@type":"ImageObject","caption":"WitCloud","contentUrl":"https://witcloud.ai/logo.svg","inLanguage":"en-US","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/docs/integrations/shopify#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"en-US","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

See the full [sitemap](https://witcloud.ai/sitemap.md) for all pages.
