Przeskocz do zawartości głównej Przejdź do treści uzupełniającej

Square 

Square is a large business technology platform serving all kinds of businesses. The Square operating system allows business owners to sell anywhere.

Square integration replicates data using the Square API version 2023-06-08.

See the Schema section for a list of objects available for replication.

Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

InformacjaUpewnij się, że używane konto ma uprawnienia do odczytu interesujących Cię tabel.

To obtain your Application ID and Access Token:

  1. Log into your Square account.
  2. Click Account at the top right of the page.
  3. Click Dashboard.
  4. Navigate to Settings from the left navigation bar and click App Integrations.
  5. Click Manage at the right of the selected application.

Creating the connection

Więcej informacji zawiera temat Łączenie się z aplikacjami SaaS.

  1. Po wprowadzaniu wymaganych ustawień połączenia kliknij przycisk Uwierzytelnij.

    Możesz zostać poproszony o zalogowanie się w aplikacji źródłowej.

    Zostanie wyświetlone okno z kodem uwierzytelniającym.

  2. Skopiuj ten kod do schowka i wróć do okna dialogowego połączeń.

  3. Wklej kod w polu Ukończ uwierzytelnianie przy użyciu kodu podanego przez źródło i kliknij przycisk Weryfikuj.

    WskazówkaByć może trzeba będzie przewinąć w dół, aby zobaczyć to pole.

    Status Zweryfikowano oznacza, że uwierzytelnianie zostało zweryfikowane.

  4. Podaj nazwę połączenia w polu Nazwa połączenia.

  5. Wybierz opcję Otwórz metadane połączenia, aby zdefiniować metadane połączenia po jegu utworzeniu.

Connection settings
SettingDescription
Data gateway

Wybierz bramę Brama danych ruchu danych, jeżeli jest wymagana do danego zastosowania.

Informacja

To pole jest niedostępne w subskrypcji Qlik Talend Cloud Starter, ponieważ brama Brama danych ruchu danych jest w niej nieobsługiwana. Jeśli masz inny poziom subskrypcji i nie chcesz korzystać z bramy Brama danych ruchu danych, wybierz opcję Brak.

Informacje o zaletach bramy Brama danych ruchu danych i o okolicznościach, w których jest wymagana, zawiera temat Brama danych Qlik — ruch danych.

Start Date

Wprowadź datę, w formacie MM/DD/YYYY, od której dane muszą być replikowane ze źródła do celu.

Application IDApplication ID.
Access TokenAccess Token.

Schema

Informacja

Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.

The schema and info displayed below is for version 2.

Depending on your destination, table and column names may not appear as they are outlined below.

bank_accounts

The bank_accounts contains information about a merchant’s bank account in Square.

Note: This table can’t be replicated if the Connect to a sandbox environment box is checked in the integration’s settings due to limits imposed by Square.

Replication Method

Full Table

Primary Key

id

Useful links

Square documentation

Square API method

cash_drawer_shifts

The cash_drawer_shifts table contains infomration about cash transactions in Square.

Replication Method

Full Table

Useful links

Square documentation

Square API method

categories

The categories table contains information about item categories for a given location in Square.

Replication Method

CDC

Primary Key

id

Replication Key

updated_at

Useful links

Square documentation

Square API method

customers

The customers contains information about customer profiles associated with your Square account.

Replication Method

CDC

Replication Key

updated_at

Useful links

Square API method

discounts

The discounts table contains information about discounts for a given location in Square.

Replication Method

CDC

Primary Key

id

Replication Key

updated_at

Useful links

Square API method

inventories

The inventories table contains info about the current calculated stock count for a Square location.

Replication Method

Full Table

Loading Behavior

Append-Only

Useful links

Square documentation

Square API method

items

The items table contains information about items for a given location in Square.

Replication Method

CDC

Primary Key

id

Replication Key

updated_at

Useful links

Square documentation

Square API method

locations

The locations table contains information about all of your business locations in Square.

Replication Method

Full Table

Useful links

Square documentation

Square API method

modifier_lists

The modifier_lists table contains information about modifier lists for a given location in Square.

Replication Method

CDC

Primary Key

id

Replication Key

updated_at

Useful links

Square documentation

Square API method

orders

The orders table contains information about order updates in Square.

Replication Method

CDC

Replication Key

updated_at

Useful links

Square documentation

Square API method

payments

The payments table contains information about all payments taken in Square.

Replication Method

Full Table

Useful links

Square documentation

Square API method

payouts

The payouts table contains information about all payouts made in Square.

Replication Method

Full Table

Useful links

Square documentation

Square API method

refunds

The refunds table contains information about refunds on items in Square.

Replication Method

Full Table

Useful links

Square documentation

Square API method

roles

The roles table contains information about employees’ roles in Square.

Note: This table can’t be replicated if the Connect to a sandbox environment box is checked in the integration’s settings due to limits imposed by Square.

Replication Method

Full Table

Primary Key

id

Useful links

Square documentation

Square API method

shifts

The shifts table contains information about employee’s shifts in Square.

Replication Method

CDC

Replication Key

updated_at

Useful links

Square documentation

Square API method

taxes

The taxes table contains information about taxes enabled on your items in Square.

Replication Method

CDC

Primary Key

id

Replication Key

updated_at

Useful links

Square API method

team_members

Replication Method

CDC

Replication Key

updated_at

Useful links

Square documentation

Square API method

Czy ta strona była pomocna?

Jeżeli natkniesz się na problemy z tą stroną lub jej zawartością — literówkę, brakujący krok lub błąd techniczny — daj nam znać!