Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

...

You can use this Snap to to read a list of product variants or specific product variant, such as a specific model, size, color, or price of the product.

Prerequisites

A valid account with the required permissions.

...

Input/OutputType of ViewNumber of ViewsExamples of Upstream and Downstream SnapsDescription
Input 

Document



  • Min:0
  • Max:1
  • Mapper Snap
  • Copy Snap
Product details, such as the barcode, image ID, or ISBN number for the product.

Optional

You must pass product ID.
Output

Document


  • Min:1
  • Max:1
  • Get Product Snap
  • Mapper SnapJSON Formatter
  • CSV Formatter

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 Snaps in your pipeline.

DefaultValueGet Product Variants
ExampleGet Product Variants

Version*N/A
Specify the Shopify API version. Alternatively, click the Suggestion Image Modified icon to fetch the list of Shopify API versions.
DefaultValue2021-04
Example2021-04
Product Id*N/A

Specify a unique identifier for the product.

DefaultValue: N/A
Example
CMS0119pro_id

Resource IdN/A

Specify a unique identifier for the resourceproduct variant.

DefaultValue: N/A
Example:
 $resid var_id

Parameters

Use this field set to define object parameters ad their values. This field set contains the following fields:

  • Parameter
  • Parameter value
ParametersParameterN/A

Specify an optional parameter for the product variant.

DefaultValue: N/A
Example:
  limit

Parameter valueN/A

Specify a value for the parameter.

DefaultValue
Example:
  5

Number Of RetriesN/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.

DefaultValue
Example

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.

DefaultValue
Example

Snap ExecutionN/A

Select one of the three modes in which the Snap executes. Available options are:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.
  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.
  • Disabled: Disables the Snap and all Snaps that are downstream from it.

DefaultValueValidate & Execute
ExampleGet Execute only


Insert excerpt
Create Order
Create Order
nopaneltrue

...