...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
In this article
Table of Contents | ||||
---|---|---|---|---|
|
Overview
You can use this Snap to fetch a read list of product variants , such as different sizes, colors, and prices.
Prerequisites
...
or a specific product variant.
Prerequisites
A valid account with the required permissions.
None.
Support for Ultra Pipelines
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Known Issues
None.
Snap Input and Output
Input/Output | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input |
Document |
|
|
You must pass product ID. Upstream Snap is optional. | |
Output |
Document |
|
- ..
- ..
| Gets a list of product variants or a specific product variant. |
Snap Settings
...
...
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 Product Variants | ||
Version* | N/A | Specify the Shopify API version. Alternatively, click the Suggestion icon to fetch the list of Shopify API versions. Default Value: |
---|
...
2021- |
...
07 |
Product |
---|
...
Id* |
---|
...
N/ |
...
A |
...
Specify a unique identifier for the product. |
...
Default Value: N/A |
...
Example: pro_id |
Resource |
---|
...
Id |
---|
...
N/ |
...
A | Specify a unique identifier for the |
...
product variant. |
...
Default Value: N/A |
...
Example: var_id | ||
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 product variant. 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 |
Troubleshooting
...
Batch execution failed
...
The Pipeline ended before the batch could complete execution due to a connection error.
Verify that the Batch size field is configured to handle the inputs properly. If you are not sure when the input data is available, configure this field as zero to keep the connection always open.
Examples
Getting Product Variants
We can exclude the unrequired fields from the input data stream by omitting them in the Input schema field set. This example demonstrates how we can use the <Snap Name> to achieve this result:
<screenshot of Pipeline/Snap and description>
Download this Pipeline.
Downloads
Note | ||
---|---|---|
| ||
|
Attachments | ||
---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...