GetShopify
Description
Retrieves objects from a custom Shopify store. The processor yield time must be set to the account's rate limit accordingly.
Tags
shopify
Properties
In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Store Domain * | store-domain | The domain of the Shopify store, e.g. nifistore.myshopify.com Supports Expression Language, using Environment variables. | ||
Access Token * | access-token | Access Token to authenticate requests Supports Expression Language, using Environment variables. | ||
API Version * | api-version | 2022-10 | The Shopify REST API version Supports Expression Language, using Environment variables. | |
Object Category * | object-category |
| Shopify object category | |
Customer Category * | CUSTOMERS |
| Customer resource to query This property is only considered if:
| |
Discount Category * | DISCOUNTS |
| Discount resource to query This property is only considered if:
| |
Inventory Category * | INVENTORY |
| Inventory resource to query This property is only considered if:
| |
Online Store Category * | ONLINE_STORE |
| Online Store resource to query This property is only considered if:
| |
Order Category * | ORDERS |
| Order resource to query This property is only considered if:
| |
Product Category * | PRODUCT |
| Product resource to query This property is only considered if:
| |
Sales Channel Category * | SALES_CHANNELS |
| Sales Channel resource to query This property is only considered if:
| |
Store Property Category * | STORE_PROPERTIES |
| Store Property resource to query This property is only considered if:
| |
Result Limit | result-limit | The maximum number of results to request for each invocation of the Processor Supports Expression Language, using Environment variables. | ||
Incremental Loading * | is-incremental | true |
| The processor can incrementally load the queried objects so that each object is queried exactly once. For each query, the processor queries objects which were created or modified after the previous run time but before the current time. |
Incremental Delay | incremental-delay | 3 sec | The ending timestamp of the time window will be adjusted earlier by the amount configured in this property. For example, with a property value of 10 seconds, an ending timestamp of 12:30:45 would be changed to 12:30:35. Set this property to avoid missing objects when the clock of your local machines and Shopify servers' clock are not in sync. Supports Expression Language, using Environment variables. This property is only considered if:
| |
Incremental Initial Start Time | incremental-initial-start-time | This property specifies the start time when running the first request. Represents an ISO 8601-encoded date and time string. For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is represented as "2019-09-07T15:50:00Z". Supports Expression Language, using Environment variables. This property is only considered if:
| ||
Web Client Service Provider * | web-client-service-provider | Controller Service: WebClientServiceProvider Implementations: StandardWebClientServiceProvider | Controller service for HTTP client operations |
Dynamic Properties
This component does not support dynamic properties.
Relationships
Name | Description |
---|---|
success | For FlowFiles created as a result of a successful query. |
Reads Attributes
This processor does not read attributes.
Writes Attributes
Name | Description |
---|---|
mime.type | Sets the MIME type to application/json |
State Management
Scope | Description |
---|---|
CLUSTER | For a few resources the processor supports incremental loading. The list of the resources with the supported parameters can be found in the additional details. |
Restricted
This component is not restricted.
Input Requirement
This component does not allow an incoming relationship.
System Resource Considerations
This component does not specify system resource considerations.