GetShopify Processor
描述
从自定义 Shopify 商店检索对象。 处理器让出时间必须相应地设置为帐户的速率限制。
标签
属性
| 名称 | 默认值 | 可选值 | 描述 |
|---|---|---|---|
| Store Domain | | Shopify 商店的域名,例如 lynxusstore.myshopify.com 支持表达式语言:是(仅使用环境/系统变量求值) | |
| Access Token | | 用于验证请求的访问令牌 敏感属性:是 支持表达式语言:是(仅使用环境/系统变量求值) | |
| API Version | 2022-10 | Shopify REST API 版本 支持表达式语言:是(仅使用环境/系统变量求值) | |
| Object Category | |
| Shopify 对象类别 |
| Customer Category | |
| 要查询的 Customer 资源 |
| Discount Category | |
| 要查询的 Discount 资源 |
| Inventory Category | |
| 要查询的 Inventory 资源 |
| Online Store Category | |
| 要查询的 Online Store 资源 |
| Order Category | |
| 要查询的 Order 资源 |
| Product Category | |
| 要查询的 Product 资源 |
| Sales Channel Category | |
| 要查询的 Sales Channel 资源 |
| Store Property Category | |
| 要查询的 Store Property 资源 |
| Result Limit | | 每次调用处理器请求的最大结果数 支持表达式语言:是(仅使用环境/系统变量求值) | |
| 增量加载 | true |
| 处理器可以增量加载查询的对象,使每个对象仅被查询一次。对于每次查询,处理器查询在上次运行时间之后但在当前时间之前创建或修改的对象。 |
| Incremental Delay | 3 sec | 时间窗口的结束时间戳将根据此属性配置的量提前调整。例如,属性值为 10 秒时,结束时间戳 12:30:45 将更改为 12:30:35。设置此属性可避免在本地机器时钟与 Shopify 服务器时钟不同步时遗漏对象。 支持表达式语言:是(仅使用环境/系统变量求值) | |
| Incremental Initial Start Time | | 此属性指定运行第一个请求时的开始时间。表示 ISO 8601 编码的日期和时间字符串。例如,UTC(协调世界时)时区中 2019 年 9 月 7 日下午 3:50 表示为 "2019-09-07T15:50:00Z"。 支持表达式语言:是(仅使用环境/系统变量求值) | |
| Web Client Service Provider | | 控制器服务 API:WebClientServiceProvidercn.org.acal.lynxus-lynxus-standard-services-api-nar-2.11.8 | 用于 HTTP 客户端操作的Controller Service |
关系 (Relationships)
| 名称 | 描述 | 自动终止 |
|---|---|---|
success | 对于因成功查询而创建的 FlowFiles。 | 否 |
写入的 FlowFile 属性
| 名称 | 描述 |
|---|---|
mime.type | 将 MIME 类型设置为 application/json |
状态管理
| 作用域 | 描述 |
|---|---|
| CLUSTER | 对于一些资源,处理器支持增量加载。 The list of the resources with the supported parameters can be found in the additional details. |
受限 (Restricted)
该组件不受限。
输入要求
该组件不允许有传入连接。
详细说明
GetShopify
配置 Custom App
按照 Shopify 教程 启用并创建私有应用、设置 API Scope 并生成 API 令牌。
增量加载
部分资源可以由 Lynxus 增量处理。即只显示在 Processor 上次运行之后 创建或修改的资源。可以在上下文菜单中重置 Processor 状态。以下 列表展示了各资源对应递增的日期时间字段。
- Customers
- Customers: updated_at_min
- Discounts
- Price Rules: updated_at_min
- Inventory
- Inventory Levels: updated_at_min
- Online Store
- Script Tags: updated_at_min
- Orders
- Abandoned Checkouts: updated_at_min
- Draft Orders: updated_at_min
- Orders: updated_at_min
- Product
- Custom Collections: updated_at_min
- Products: updated_at_min
- Smart Collections: updated_at_min
- Sales Channels
- Product Listings: updated_at_min
- Store Properties
- Shipping Zones: updated_at_min