...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
In this article
Table of Contents | ||||
---|---|---|---|---|
|
...
You can use this Snap to fetch a list of product variants, such as different sizes, colors, and prices.a specific model, size, color, or price.
Prerequisites
...
A valid account with the required permissions
...
None.
Support for Ultra Pipelines
...
None.
Snap Input and Output
Input/Output | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input |
Document |
|
|
Product details, such as the barcode, image ID, or ISBN number for the product.. |
Output |
Document |
|
- ..
- ..
| Gets a list of product variants. |
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 Snaps 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-04 Example: 2021-04 |
---|---|---|
Product ID* |
...
N/ |
...
A |
...
Specify a unique identifier for the product. |
...
Default Value: N/A |
Resource ID |
---|
...
N/ |
...
A | Specify a unique identifier for the resource. |
...
Default Value: N/A | ||
Parameters | Use this field set to define object parameters ad their values. This field set contains the following fields:
| |
---|---|---|
Parameters |
...
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: Get Product Variants |
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 |
---|
...
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 | ||
---|---|---|
|
N/A | Select one of the three modes in which the Snap executes. Available options are:
Default Value: Validate & Execute |
...
Troubleshooting
...
Example: Get Execute only |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...