In this article
Table of Contents | ||||
---|---|---|---|---|
|
...
Input/Output | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| You must pass resource ID to get a specific customer record. Upstream Snap is optional. |
Output | Document |
|
| List of customer records or a specific customer record. |
...
Field Name | Field Dependency | Description | ||
---|---|---|---|---|
Label* | N/A | Specify the name for the Snap. You can modify the default name to be specific and meaningful, especially if you have more than one of the same Snap in your Pipeline. Default Value: Get Customers Example: Get_Platinum_Customers | ||
Version* | N/A |
| ||
Resource Id | N/A | Specify the ID of the customer resource ID to fetch a specific record. Default Value: N/A | ||
Parameters | Use this field set to define object parameters ad their values. This field set contains the following fields:
| |||
Parameter | N/A | Specify an optional parameter for the customer. Default Value: N/A | ||
Parameter value | N/A | Specify a value for the parameter. Default Value: N/A | ||
Number Of Retries | N/A | Specify an integer value to set the maximum number of reconnection attempts that the Snap must perform, in case of connection failure or timeout. Default Value: 1 | ||
Retry Interval (Seconds) | N/A | Specify the duration in seconds for which the Snap must wait between two reconnection attempts, until the number of retries is reached. Default Value: 1 | ||
Snap Execution | N/A | Select one of the three modes in which the Snap executes. Available options are:
Default Value: Validate & Execute |
...
Getting A Specific Customer
This is a simple example of a stand-alone Pipeline that demonstrates how we can get details of a specific customer. This example assumes that you have configured a valid Shopify account to be used with this Snap.
Initially, we We configure the Get Customers Snap to fetch the customer details bearing the customer Resource ID, 5394320261300.
Upon validation of the Snap, we can see a data preview with all the associated details of the customer.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...