---
title: "Shopify · Dokumentacja WitCloud"
description: "Dowiedz się, jak utworzyć własną aplikację w Shopify i połączyć Shopify z Google BigQuery w WitCloud, aby pobierać zamówienia, produkty, zwroty płatności…"
canonical_url: "https://witcloud.ai/pl/docs/integrations/shopify"
meta:
  "og:description": "Dowiedz się, jak utworzyć własną aplikację w Shopify i połączyć Shopify z Google BigQuery w WitCloud, aby pobierać zamówienia, produkty, zwroty płatności…"
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Shopify · Dokumentacja WitCloud"
---

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

# Integracja Shopify z BigQuery

Dowiedz się, jak utworzyć własną aplikację w Shopify i połączyć Shopify z Google BigQuery w WitCloud, aby pobierać zamówienia, produkty, zwroty płatności, zwroty towarów, nawigację sklepu, stany magazynowe i zgody marketingowe.

Zaktualizowano 26 paź 2026

## Wprowadzenie

Ten moduł łączy WitCloud z Twoim sklepem **Shopify** i zapisuje jego dane w **Google Cloud BigQuery**: zamówienia, produkty, zwroty płatności, zwroty towarów, menu nawigacyjne sklepu, stany magazynowe w poszczególnych lokalizacjach oraz zgody marketingowe klientów. Dzięki temu możesz analizować wyniki e-commerce obok danych reklamowych.

WitCloud łączy się z Shopify za pomocą **Client ID** i **Client secret** własnej aplikacji, którą tworzysz na swoim koncie Shopify. W pierwszej części tej strony pokazujemy, jak ją utworzyć. W drugiej – jak skonfigurować integrację w WitCloud.

## Zanim zaczniesz: konfiguracja własnej aplikacji

Kroki w tej sekcji wykonujesz w **interfejsie Shopify** (Shopify Dev Dashboard i panel administracyjny sklepu), a nie w WitCloud. Shopify może z czasem zmieniać swoje ekrany; obrazy pokazują, jak wyglądały w chwili pisania tej strony. Nie zawierają żadnych prawdziwych danych sklepu.

**Krok 1: Otwórz Dev Dashboard**

Wejdź do [Shopify Dev Dashboard](https://dev.shopify.com/dashboard) i otwórz sekcję **Apps**. Kliknij **Create app** w prawym górnym rogu. Jeśli nie masz jeszcze konta Shopify Partners, możesz je założyć na [partners.shopify.com](https://partners.shopify.com).

![Sekcja Apps w Shopify Dev Dashboard z przyciskiem Create app (interfejs Shopify)](https://api.witcloud.ai/api/docs/assets/a219ded86077c8de67ad4c71b4f0244f.png)

**Krok 2: Utwórz aplikację**

Na ekranie **Create an app** wybierz **Start from Dev Dashboard** (karta po prawej). Wpisz **App name**, na przykład „WitCloud Connector”, i kliknij **Create**.

![Ekran Create an app z opcją Start from Dev Dashboard i polem App name (interfejs Shopify)](https://api.witcloud.ai/api/docs/assets/27d376a45a50620f93f2cad35992abab.png)

**Krok 3: Utwórz wersję**

W aplikacji otwórz sekcję **Versions** i kliknij **Create a version**.

![Sekcja Versions z przyciskiem Create a version (interfejs Shopify)](https://api.witcloud.ai/api/docs/assets/6f3a976749d999ae400470e40ee26a81.png)

**Krok 4: Dodaj uprawnienia (scopes) i opublikuj wersję**

W sekcji **Access** wklej do pola **Scopes** uprawnienia, których potrzebuje WitCloud.

| Uprawnienie | Wymagane | Do czego służy |
| --- | --- | --- |
| `read_orders` | Tak | Zamówienia, zwroty płatności i zwroty towarów |
| `read_all_orders` | Tak | Zamówienia starsze niż 60 dni |
| `read_products` | Tak | Produkty |
| `read_discounts` | Tak | Kody rabatowe użyte w zamówieniach |
| `read_returns` | Tak | Zwroty towarów |
| `read_inventory` | Tak | Stany magazynowe |
| `read_locations` | Tak | Stany magazynowe w poszczególnych lokalizacjach |
| `read_customers` | Tak | Dane klienta w zamówieniach i zgody marketingowe |
| `read_online_store_navigation` | Nie | Menu nawigacyjne sklepu |

Przy zapisie danych dostępowych WitCloud sprawdza, czy przyznano wszystkie wymagane uprawnienia. Bez `read_online_store_navigation` integracja działa, ale tabela **store\_navigation** pozostaje pusta albo zgłasza błąd.

Wklej wszystkie uprawnienia naraz, oddzielone przecinkami: `read_all_orders,read_customers,read_discounts,read_inventory,read_locations,read_orders,read_products,read_returns,read_online_store_navigation`

Tabele zamówień i zgód marketingowych zawierają imiona i nazwiska, adresy e-mail i numery telefonów klientów. Shopify udostępnia je aplikacji dopiero wtedy, gdy w ustawieniach aplikacji poprosisz o dostęp do **chronionych danych klientów** (protected customer data – pola imienia i nazwiska, e-maila i telefonu). Bez tego dostępu te pola pozostają puste.

Następnie kliknij **Release** u góry strony.

**Krok 5: Potwierdź publikację**

W oknie **Release this new version?** możesz opcjonalnie wpisać nazwę i opis wersji. Kliknij **Release**, aby potwierdzić.

![Okno Release z opcjonalną nazwą i opisem wersji (interfejs Shopify)](https://api.witcloud.ai/api/docs/assets/1e026bb2d55426086ba3ba6e994acfe9.png)

Shopify jest już połączone, a dodajesz nowe uprawnienia? Dodaj je w aplikacji, opublikuj nową wersję i zaakceptuj nowe uprawnienia w sklepie. W tym czasie integracja działa dalej – błąd zgłaszają tylko tabele, które potrzebują nowych uprawnień.

**Krok 6: Zainstaluj aplikację w sklepie**

Otwórz sekcję **Home** aplikacji i kliknij **Install app**. Shopify poprosi o wybór sklepu (jeśli masz ich kilka) i pokaże uprawnienia, o które prosi aplikacja. Kliknij **Install**, aby potwierdzić.

![Sekcja Home aplikacji z przyciskiem Install app (interfejs Shopify)](https://api.witcloud.ai/api/docs/assets/bb28ce5ca940312e8560d3341d145db7.png)

Po instalacji Shopify może otworzyć stronę **Example Domain**. To normalne: aplikacja używa zastępczego adresu URL. Zamknij tę kartę i wróć do Dev Dashboard.

**Krok 7: Skopiuj Client ID i sekret**

W aplikacji otwórz sekcję **Settings**. W **Credentials** skopiuj **Client ID**, a potem kliknij ikonę oka obok **Secret**, aby odsłonić sekret, i skopiuj go również. Obie wartości wkleisz w WitCloud. Traktuj sekret jak hasło i nikomu go nie udostępniaj.

**Gotowe!** Masz **Client ID** i **Client secret** potrzebne do autoryzacji Shopify w WitCloud.

## Przewodnik konfiguracji

Wykonaj poniższe kroki, aby połączyć Shopify z BigQuery. Po zakończeniu konfiguracji dane ze Shopify są przesyłane do Twojego projektu BigQuery.

### Konfiguracja modułu

Przejdź do **Integracje** w menu i kliknij **Dodaj integrację**.

![Lista integracji z przyciskiem Dodaj integrację](https://api.witcloud.ai/api/docs/assets/3728c9b09ee1020be0ed4e706aea867d.png)

Wybierz **Shopify** z listy dostępnych integracji.

![Katalog integracji zawężony do Shopify](https://api.witcloud.ai/api/docs/assets/cb1987952eb8afc776348f3788ac234f.png)

Wpisz **Nazwę źródła danych**, np. „Shopify PL”. Dobra nazwa pomoże Ci później rozpoznać źródło danych.

![Pole Nazwa źródła danych wypełnione przykładową nazwą Shopify PL](https://api.witcloud.ai/api/docs/assets/eedc672d20eaac90d11022193f7f08ef.png)

Wpisz **Adres sklepu**: adres swojego sklepu w domenie `myshopify.com`, razem z `https://`, np. `https://your-store.myshopify.com` (nie własną domenę). Przycisk **Autoryzuj** jest nieaktywny, dopóki nie wpiszesz poprawnego adresu.

![Pole Adres sklepu wypełnione przykładowym adresem https://demo-shop.myshopify.com](https://api.witcloud.ai/api/docs/assets/315f69b69825827688564d291da18c67.png)

### Autoryzacja

Jeśli Shopify jest już autoryzowane w WitCloud, wybierz istniejący token z listy **Autoryzacja Shopify** i pomiń dwa kolejne kroki.

Kliknij **Autoryzuj**.

![Przycisk Autoryzuj obok pola Autoryzacja Shopify, aktywny po wpisaniu adresu sklepu](https://api.witcloud.ai/api/docs/assets/1451a500b357a142ace49d1f5a9e1028.png)

W oknie **Autoryzuj** wpisz **Identyfikator klienta (Client ID)** i **Sekret klienta (Client secret)** skopiowane ze Shopify i kliknij **Utwórz**. Jeśli Shopify nie przyjmie danych albo aplikacji brakuje wymaganego uprawnienia, powód zobaczysz pod formularzem.

![Okno Autoryzuj z polami Identyfikator klienta (Client ID) i Sekret klienta (Client secret) wypełnionymi przykładowymi wartościami](https://api.witcloud.ai/api/docs/assets/1d418b9a2b9573e84f53094698dab3bb.png)

Zapisany token zostanie wybrany automatycznie. Token możesz też wybrać z listy **Autoryzacja Shopify**.

![Otwarta lista Autoryzacja Shopify z jednym przykładowym tokenem](https://api.witcloud.ai/api/docs/assets/faab3c6304f66144896ffdd413a582ea.png)

### Ustawienia zaawansowane

Kliknij **Pokaż ustawienia zaawansowane**, aby zobaczyć dwa dodatkowe pola.

W polu **Odświeżanie danych (produkty, stany magazynowe)** wpisz, co ile godzin mają być odświeżane tabele przechowujące cały katalog (produkty, stany magazynowe w lokalizacjach i nawigacja sklepu). Wartość musi mieścić się między 4 a 12 godzin; domyślnie jest to 4.

![Otwarte ustawienia zaawansowane z polem Odświeżanie danych (produkty, stany magazynowe) ustawionym na 4 godziny](https://api.witcloud.ai/api/docs/assets/59f09e5a8138958e5a92158ef6ef8dde.png)

W polu **Tabele do pobrania** możesz usunąć tabele, których nie potrzebujesz: **products**, **orders**, **returns**, **refunds**, **store\_navigation**, **inventory\_levels** i **marketing\_consents**. Domyślnie wszystkie są zaznaczone, a co najmniej jedna musi pozostać zaznaczona. Pobieranie mniejszej liczby tabel przyspiesza pobieranie danych.

![Pole Tabele do pobrania z wybranymi tabelami Shopify](https://api.witcloud.ai/api/docs/assets/45e4ce03470688d70e82c03f17a0122c.png)

W integracji utworzonej wcześniej nowe tabele nie są dodawane do **Tabel do pobrania** automatycznie. Edytuj integrację i zaznacz je, aby zacząć je pobierać.

Kliknij **Dalej**.

![Wypełnione ustawienia źródła danych z przyciskiem Dalej](https://api.witcloud.ai/api/docs/assets/4501ac00cc6bcaaa69398f81ea67cc00.png)

### Dane historyczne i harmonogram

W polu **Dane historyczne** wpisz liczbę dni, za które dane zostaną pobrane przy pierwszym uruchomieniu – maksymalnie 365.

![Pole Dane historyczne wypełnione wartością 365 dni](https://api.witcloud.ai/api/docs/assets/bd72a1e712bdd8783ecdbac6848e7e6b.png)

Harmonogram synchronizacji danych zostanie utworzony automatycznie. Więcej informacji na ten temat znajdziesz [tutaj](https://witcloud.ai/pl/docs/workflow#automatyczne-harmonogramy).

Kliknij **Utwórz**, aby zakończyć konfigurację.

![Ustawienia pobierania danych z przyciskiem Utwórz](https://api.witcloud.ai/api/docs/assets/1d3c35b1d908d54412b7d585199886b5.png)

**Gotowe!** Dane ze Shopify będą teraz synchronizowane z BigQuery, dając Ci szczegółowy wgląd w wyniki Twojego sklepu.

## Schemat danych

Rozwiń poniższe tabele, aby zobaczyć pełny schemat danych pobieranych ze Shopify.

- **Zamówienia, zwroty towarów i zwroty płatności** są pobierane dzień po dniu, według daty utworzenia. Dzień to dzień kalendarzowy w strefie czasowej harmonogramu integracji.
- **Zgody marketingowe** też są pobierane dzień po dniu, według daty ostatniej aktualizacji klienta. Dzień zawiera klientów utworzonych tego dnia oraz tych, których zgoda e-mail lub SMS zmieniła się tego dnia, więc najnowszy wiersz każdego klienta to jego aktualna zgoda. Kolumny `is_new`, `email_consent_changed` i `sms_consent_changed` mówią, dlaczego klient znalazł się w danym dniu.
- **Produkty, stany magazynowe w lokalizacjach i nawigacja sklepu** są pobierane jako pełna kopia bieżącego stanu i odświeżane zgodnie z ustawieniem **Odświeżanie danych**.

Aby poznać aktualną zgodę każdego klienta, weź jego najnowszy wiersz:

```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
```

Z zamówieniami połączysz ją po `customer.admin_graphql_api_id`. Możliwe stany zgody to `SUBSCRIBED`, `NOT_SUBSCRIBED`, `UNSUBSCRIBED`, `PENDING`, `REDACTED` i `INVALID`; zgodę na marketing wyrazili tylko klienci w stanie `SUBSCRIBED`.

<details>

<summary>

Kolumny tabeli <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>

Kolumny tabeli <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>

Kolumny tabeli <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>

Kolumny tabeli <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>

Kolumny tabeli <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>

Kolumny tabeli <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>

Kolumny tabeli <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":"pl-PL","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/pl/docs/integrations/shopify#webpage","@type":"WebPage","dateModified":"2026-10-26T14:31:49.720Z","description":"Dowiedz się, jak utworzyć własną aplikację w Shopify i połączyć Shopify z Google BigQuery w WitCloud, aby pobierać zamówienia, produkty, zwroty płatności…","name":"Shopify · Dokumentacja WitCloud","url":"https://witcloud.ai/pl/docs/integrations/shopify","breadcrumb":{"@id":"https://witcloud.ai/pl/docs/integrations/shopify#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/pl/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/pl/docs/integrations/shopify#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integracje","item":"https://witcloud.ai/pl/docs/integrations","position":1},{"@type":"ListItem","name":"Shopify","item":"https://witcloud.ai/pl/docs/integrations/shopify","position":2}]},{"@id":"https://witcloud.ai/pl/docs/integrations/shopify#article","dateModified":"2026-10-26T14:31:49.720Z","description":"Dowiedz się, jak utworzyć własną aplikację w Shopify i połączyć Shopify z Google BigQuery w WitCloud, aby pobierać zamówienia, produkty, zwroty płatności, zwroty towarów, nawigację sklepu, stany magazynowe i zgody marketingowe.","headline":"Shopify","inLanguage":"pl-PL","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/pl/docs/integrations/shopify#/schema/person/1"},"image":{"@id":"https://witcloud.ai/pl/docs/integrations/shopify#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/pl/docs/integrations/shopify#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/pl/docs/integrations/shopify#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/pl/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":"pl-PL","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/pl/docs/integrations/shopify#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"pl-PL","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

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