Перейти к основному содержимому Перейти к дополнительному содержимому

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.

Примечание к информацииУбедитесь, что используемая учетная запись имеет доступ для чтения к таблицам, которые требуется получить.

You must have administrator permissions for your Square Developer account.

Connections from Qlik Talend Cloud to the Square Sandbox instance are not currently supported.

To obtain your application ID and access token:

  1. Log into your Square Developer account.
  2. Click + to create an app.
  3. Enter a name for your app.
  4. In the left navigation bar, select OAuth, and then select Production.
  5. Set Production Redirect URL to https://connector.qlik.com/auth/oauth/v3.htm.
  6. In the left navigation bar, select Credentials, and then select Production.
  7. Copy and paste your application ID and access token into a secured file.

Creating the connection

Для получения дополнительной информации см. раздел Подключение к приложениям SaaS.

  1. Щелкните Проверить подлинность, когда будут настроены необходимые параметры подключения.

    Может появиться запрос на вход в исходное приложение.

    Открывается окно с кодом для проверки подлинности.

  2. Скопируйте код в буфер обмена и вернитесь в диалоговое окно подключения.

  3. Вставьте код в поле Завершите проверку подлинности с помощью кода, предоставленного источником и нажмите кнопку Проверить.

    Примечание к подсказкеМожет потребоваться прокрутить вниз, чтобы увидеть это поле.

    Когда статус Проверено, аутентификация подтверждена.

  4. Заполните поле Имя подключения.

  5. Установите флажок Открыть метаданные подключения, чтобы определить метаданные для подключения, когда оно будет создано.

Connection settings
SettingDescription
Data gateway

Выберите шлюз Шлюз движения данных, если этого требует текущий сценарий использования.

Примечание к информации

Это поле недоступно при использовании подписки Qlik Talend Cloud Starter, так как она не поддерживает Шлюз движения данных. Если используется другой уровень подписки или не требуется использовать Шлюз движения данных, выберите Нет.

Для получения информации о преимуществах Шлюз движения данных и о сценариях, требующих его использования, см. раздел Шлюз данных Qlik — движение данных.

Start Date

Введите дату в формате MM/DD/YYYY, начиная с которой данные должны реплицироваться из источника в цель.

Application IDApplication ID.
Access TokenAccess token.

Schema

Примечание к информации

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

Помогла ли вам эта страница?

Если вы обнаружили какую-либо проблему на этой странице или с ее содержанием — будь то опечатка, пропущенный шаг или техническая ошибка, сообщите нам об этом!