跳到主要内容 跳到补充内容

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

本页面有帮助吗?

如果您发现此页面或其内容有任何问题 – 打字错误、遗漏步骤或技术错误 – 请告诉我们!