In this article
Overview
You can use this Snap to fetch a list of product variants, such as a specific model, size, color, or price.
Prerequisites
A valid account with the required permissions.
Support for Ultra Pipelines
Works in Ultra Pipelines.
Limitations
- API versions: Shopify releases new API versions every quarter. Each stable version is supported only for a minimum of 12 months. Part of a Shopify API is deprecated if it becomes unnecessary, unsafe, or outdated. The API’s are marked as deprecated when they are removed in a newer version of the API. The deprecation is then retroactively applied to previous stable versions of the API.
API Rate Limit: All Shopify APIs are rate-limited. Shopify uses various strategies to enforce rate limits, such as Calculated query cost, Request-based limit, and Time-based limit.
Shopify Snap Pack uses admin APIs, which are applicable for Request-based limit. If the APIs cross the rate limit, the Snap fails.
Known Issues
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 | N/A | Select one of the three modes in which the Snap executes. Available options are:
Default Value: Validate & Execute |