Integracja Baselinker z BigQuery

Podłącz Baselinker do Google BigQuery w WitCloud i pobieraj zamówienia, zwroty, faktury, produkty oraz dane magazynowe, aby analizować sprzedaż e-commerce.

Aktualizacja

Wprowadzenie

Ta integracja łączy Baselinker z Google Cloud BigQuery. Pobiera dane e-commerce - zamówienia, zwroty, faktury, produkty, kategorie, magazyny i stany magazynowe - dzięki czemu możesz analizować je obok pozostałych danych w WitCloud.

Przewodnik konfiguracji

Wykonaj poniższe kroki, aby połączyć Baselinker z BigQuery. Po zakończeniu konfiguracji dane z Baselinker będą przesyłane do Twojego projektu BigQuery.

Zanim zaczniesz konfigurację, upewnij się, że masz dostęp administratora do swojego konta Baselinker.

Konfiguracja modułu

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

Lista integracji z kilkoma przykładowymi integracjami i przyciskiem Dodaj integrację

Wybierz Baselinker z listy dostępnych integracji.

Katalog integracji z wybraną integracją Baselinker

Wpisz Nazwę źródła danych, np. „Baselinker PL".

Pole Nazwa źródła danych wypełnione przykładową nazwą Baselinker PL

Autoryzacja

Jeśli moduł Baselinker był już wcześniej autoryzowany i nie potrzebujesz dodatkowych uprawnień, możesz pominąć ten krok i wybrać istniejącą autoryzację z listy Autoryzacja Baselinker.

Kliknij Autoryzuj.

Przycisk Autoryzuj obok pola Autoryzacja Baselinker

Wklej swój token API z Baselinker w pole Token dostępu w formularzu Autoryzuj i kliknij Utwórz.

Okno Autoryzuj z polem Token dostępu wypełnionym przykładową wartością

Opcjonalnie kliknij Pokaż ustawienia zaawansowane:

  • Strefa czasowa - domyślnie UTC.
  • Odświeżanie danych (produkty, stany magazynowe) - jak często, w godzinach, odświeżane są tabele przechowujące całą historię danych, takie jak produkty czy stany magazynowe. Możesz wpisać wartość od 4 do 12 godzin.
  • Stały adres IP - jeśli Twoja platforma ma dodatkowe zabezpieczenia sieciowe, np. Cloudflare, włącz tę opcję. Wszystkie zapytania będą wtedy wysyłane z jednego stałego adresu IP (pojawia się po włączeniu opcji), który możesz dodać do listy dozwolonych adresów.
  • Tabele do pobrania - pozwala zawęzić listę tabel, które chcesz pobierać. Domyślnie zaznaczone są wszystkie, a co najmniej jedna tabela jest wymagana.

Ustawienia zaawansowane z polami Strefa czasowa, Odświeżanie danych (produkty, stany magazynowe), Stały adres IP i Tabele do pobrania

Ustawienia zaawansowane z przełącznikiem Stały adres IP i polem Tabele do pobrania

Kliknij Dalej.

Dane historyczne i harmonogram

W polu Dane historyczne wpisz liczbę dni, z których chcesz pobrać dane historyczne. Możesz podać maksymalnie 365 dni.

Pole Dane historyczne wypełnione wartością 365 dni

Harmonogram synchronizacji danych zostanie utworzony automatycznie. Więcej informacji na ten temat znajdziesz tutaj.

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

Ustawienia pobierania danych z przyciskiem Utwórz

Gotowe! Dane z Baselinker będą teraz synchronizowane z BigQuery.

Schemat danych

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

Schemat danych tabeli baselinker_external_categories
Nazwa polaTrybTyp
storage_idNULLABLESTRING
category_idNULLABLESTRING
nameNULLABLESTRING
parent_idNULLABLESTRING
Schemat danych tabeli baselinker_invoices
Nazwa polaTrybTyp
invoice_idNULLABLESTRING
order_idNULLABLESTRING
series_idNULLABLESTRING
typeNULLABLESTRING
numberNULLABLESTRING
yearNULLABLESTRING
monthNULLABLESTRING
sub_idNULLABLESTRING
postfixNULLABLESTRING
date_addNULLABLEINTEGER
date_sellNULLABLEINTEGER
date_pay_toNULLABLEINTEGER
currencyNULLABLESTRING
total_price_bruttoNULLABLEFLOAT
total_price_nettoNULLABLEFLOAT
invoice_fullnameNULLABLESTRING
invoice_companyNULLABLESTRING
invoice_nipNULLABLESTRING
invoice_addressNULLABLESTRING
invoice_cityNULLABLESTRING
invoice_postcodeNULLABLESTRING
invoice_countryNULLABLESTRING
invoice_country_codeNULLABLESTRING
sellerNULLABLESTRING
paymentNULLABLESTRING
additional_infoNULLABLESTRING
correcting_to_invoice_idNULLABLESTRING
correcting_reasonNULLABLESTRING
correcting_itemsNULLABLEBOOLEAN
correcting_dataNULLABLEBOOLEAN
external_invoice_numberNULLABLESTRING
external_idNULLABLESTRING
exchange_currencyNULLABLESTRING
exchange_rateNULLABLESTRING
exchange_dateNULLABLESTRING
exchange_infoNULLABLESTRING
itemsREPEATEDRECORD
├─ items.nameNULLABLESTRING
├─ items.skuNULLABLESTRING
├─ items.eanNULLABLESTRING
├─ items.price_bruttoNULLABLEFLOAT
├─ items.price_nettoNULLABLEFLOAT
├─ items.tax_rateNULLABLEFLOAT
├─ items.quantityNULLABLEINTEGER
├─ items.is_shipmentNULLABLEINTEGER
Schemat danych tabeli baselinker_order_extra_fields
Nazwa polaTrybTyp
extra_field_idNULLABLESTRING
nameNULLABLESTRING
editor_typeNULLABLESTRING
Schemat danych tabeli baselinker_order_returns_statuses
Nazwa polaTrybTyp
idNULLABLESTRING
nameNULLABLESTRING
name_for_customerNULLABLEJSON
colorNULLABLESTRING
Schemat danych tabeli baselinker_order_returns
Nazwa polaTrybTyp
return_idNULLABLESTRING
order_idNULLABLESTRING
shop_order_idNULLABLESTRING
external_order_idNULLABLESTRING
reference_numberNULLABLESTRING
order_return_sourceNULLABLESTRING
order_return_source_idNULLABLESTRING
status_idNULLABLESTRING
date_addNULLABLEINTEGER
date_in_statusNULLABLEINTEGER
user_loginNULLABLESTRING
currencyNULLABLESTRING
refundedNULLABLEFLOAT
emailNULLABLESTRING
phoneNULLABLESTRING
delivery_priceNULLABLEFLOAT
delivery_fullnameNULLABLESTRING
delivery_companyNULLABLESTRING
delivery_addressNULLABLESTRING
delivery_postcodeNULLABLESTRING
delivery_cityNULLABLESTRING
delivery_stateNULLABLESTRING
delivery_country_codeNULLABLESTRING
delivery_countryNULLABLESTRING
extra_field_1NULLABLESTRING
extra_field_2NULLABLESTRING
admin_commentsNULLABLESTRING
delivery_package_moduleNULLABLESTRING
delivery_package_nrNULLABLESTRING
productsREPEATEDRECORD
├─ products.order_return_product_idNULLABLESTRING
├─ products.storageNULLABLESTRING
├─ products.storage_idNULLABLESTRING
├─ products.product_idNULLABLESTRING
├─ products.variant_idNULLABLESTRING
├─ products.nameNULLABLESTRING
├─ products.skuNULLABLESTRING
├─ products.eanNULLABLESTRING
├─ products.locationNULLABLESTRING
├─ products.warehouse_idNULLABLESTRING
├─ products.auction_idNULLABLESTRING
├─ products.attributesNULLABLESTRING
├─ products.price_bruttoNULLABLEFLOAT
├─ products.tax_rateNULLABLEFLOAT
├─ products.quantityNULLABLEINTEGER
├─ products.weightNULLABLEFLOAT
├─ products.bundle_idNULLABLESTRING
├─ products.status_idNULLABLESTRING
├─ products.return_reason_idNULLABLESTRING
refund_account_numberNULLABLESTRING
refund_ibanNULLABLESTRING
refund_swiftNULLABLESTRING
fulfillment_statusNULLABLESTRING
Schemat danych tabeli baselinker_order_statuses
Nazwa polaTrybTyp
idNULLABLESTRING
nameNULLABLESTRING
name_for_customerNULLABLESTRING
colorNULLABLESTRING
Schemat danych tabeli baselinker_orders
Nazwa polaTrybTyp
order_idNULLABLESTRING
invoice_countryNULLABLESTRING
pack_stateNULLABLEINTEGER
shop_order_idNULLABLESTRING
invoice_cityNULLABLESTRING
invoice_addressNULLABLESTRING
invoice_nipNULLABLESTRING
pick_stateNULLABLEINTEGER
invoice_companyNULLABLESTRING
delivery_point_cityNULLABLESTRING
delivery_point_postcodeNULLABLESTRING
delivery_package_nrNULLABLESTRING
extra_field_1NULLABLESTRING
extra_field_2NULLABLESTRING
delivery_countryNULLABLESTRING
invoice_country_codeNULLABLESTRING
delivery_point_addressNULLABLESTRING
delivery_point_idNULLABLESTRING
order_pageNULLABLESTRING
want_invoiceNULLABLEBOOLEAN
delivery_country_codeNULLABLESTRING
delivery_cityNULLABLESTRING
delivery_addressNULLABLESTRING
payment_methodNULLABLESTRING
delivery_companyNULLABLESTRING
invoice_fullnameNULLABLESTRING
delivery_fullnameNULLABLESTRING
delivery_package_moduleNULLABLESTRING
delivery_priceNULLABLEFLOAT
payment_doneNULLABLEFLOAT
invoice_postcodeNULLABLESTRING
payment_method_codNULLABLEINTEGER
delivery_postcodeNULLABLESTRING
date_in_statusNULLABLETIMESTAMP
order_status_idNULLABLESTRING
admin_commentsNULLABLESTRING
user_commentsNULLABLESTRING
currencyNULLABLESTRING
delivery_point_nameNULLABLESTRING
emailNULLABLESTRING
date_addNULLABLETIMESTAMP
phoneNULLABLESTRING
order_sourceNULLABLESTRING
delivery_methodNULLABLESTRING
order_source_idNULLABLESTRING
external_order_idNULLABLESTRING
date_confirmedNULLABLETIMESTAMP
user_loginNULLABLESTRING
order_source_infoNULLABLESTRING
confirmedNULLABLEBOOLEAN
productsREPEATEDRECORD
├─ products.weightNULLABLEFLOAT
├─ products.quantityNULLABLEINTEGER
├─ products.product_idNULLABLESTRING
├─ products.auction_idNULLABLESTRING
├─ products.price_bruttoNULLABLEFLOAT
├─ products.eanNULLABLESTRING
├─ products.skuNULLABLESTRING
├─ products.storageNULLABLESTRING
├─ products.variant_idNULLABLESTRING
├─ products.order_product_idNULLABLESTRING
├─ products.tax_rateNULLABLEFLOAT
├─ products.attributesNULLABLESTRING
├─ products.nameNULLABLESTRING
├─ products.storage_idNULLABLESTRING
user_login_hashNULLABLESTRING
phone_hashNULLABLESTRING
invoice_fullname_hashNULLABLESTRING
email_hashNULLABLESTRING
delivery_fullname_hashNULLABLESTRING
delivery_address_hashNULLABLESTRING
delivery_point_address_hashNULLABLESTRING
invoice_address_hashNULLABLESTRING
custom_extra_fieldsNULLABLEJSON
Schemat danych tabeli baselinker_external_products
Nazwa polaTrybTyp
storage_idNULLABLESTRING
product_idNULLABLESTRING
eanNULLABLESTRING
skuNULLABLESTRING
nameNULLABLESTRING
quantityNULLABLEINTEGER
price_nettoNULLABLEFLOAT
price_bruttoNULLABLEFLOAT
price_wholesale_nettoNULLABLEFLOAT
tax_rateNULLABLEFLOAT
weightNULLABLEFLOAT
descriptionNULLABLESTRING
description_extra1NULLABLESTRING
description_extra2NULLABLESTRING
description_extra3NULLABLESTRING
description_extra4NULLABLESTRING
man_nameNULLABLESTRING
man_imageNULLABLESTRING
category_idNULLABLESTRING
imagesREPEATEDSTRING
featuresREPEATEDRECORD
├─ features.keyNULLABLESTRING
├─ features.valueNULLABLESTRING
variantsREPEATEDRECORD
├─ variants.variant_idNULLABLESTRING
├─ variants.nameNULLABLESTRING
├─ variants.priceNULLABLEFLOAT
├─ variants.quantityNULLABLEINTEGER
├─ variants.eanNULLABLESTRING
├─ variants.skuNULLABLESTRING
Schemat danych tabeli baselinker_external_storages
Nazwa polaTrybTyp
storage_idNULLABLESTRING
nameNULLABLESTRING
Schemat danych tabeli baselinker_inventory_price_groups
Nazwa polaTrybTyp
price_group_idNULLABLESTRING
nameNULLABLESTRING
descriptionNULLABLESTRING
currencyNULLABLESTRING
is_defaultNULLABLEBOOLEAN
price_group_typeNULLABLESTRING
source_price_group_idNULLABLESTRING
price_multiplierNULLABLEFLOAT
price_additionNULLABLEFLOAT
is_bundle_price_calculatedNULLABLEBOOLEAN
bundle_price_multiplierNULLABLEFLOAT
bundle_price_additionNULLABLEFLOAT
Schemat danych tabeli baselinker_inventory_products
Nazwa polaTrybTyp
inventory_idNULLABLESTRING
inventory_nameNULLABLESTRING
product_idNULLABLESTRING
parent_idNULLABLESTRING
nameNULLABLESTRING
skuNULLABLESTRING
eanNULLABLESTRING
asinNULLABLESTRING
is_bundleNULLABLEBOOLEAN
tax_rateNULLABLEFLOAT
average_costNULLABLEFLOAT
average_landed_costNULLABLEFLOAT
pricesREPEATEDRECORD
├─ prices.price_group_idNULLABLESTRING
├─ prices.priceNULLABLEFLOAT
linksREPEATEDRECORD
├─ links.storage_idNULLABLESTRING
├─ links.product_idNULLABLESTRING
├─ links.variant_idNULLABLESTRING