Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

In this article

Table of Contents
maxLevel2
absoluteUrltrue

Overview

Use You can use this Snap to update product variant record of a specific product from the Shopify store. A product variant represents one version of a product with several options. A product can have a variant of every possible combinations. Once you create a product, you need to add variants under it.

Prerequisites

...

None.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations

None.

Insert excerpt
Calculate Order Refund
Calculate Order Refund
nopaneltrue

Known Issues

None.

Snap Input and Output

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

Document


  • Min:1
  • Max:1
  • Mapper SnapCopy Snap
  • Get Product Variant

The product Id and product variant ID. 


Output

Document

  • Min:1
  • Max:1
  • ..
  • .JSON Formatter
  • CSV Formatter

The updated product variant details.


...

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

Excluding Fields from the Input Data Stream

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
titleImportant Steps to Successfully Reuse Pipelines
  1. Download and import the Pipeline into SnapLogic.
  2. Configure Snap accounts as applicable.
  3. Provide Pipeline parameters as applicable.
Attachments
patterns*.slp, *.zip

...

Snap Settings

Parameter
Data Type
Field Name
Field Dependency
Description
Default Value
Example
Label*
StringRequired. 
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

Snap in your

pipeline

Pipeline.

Default Value: N/A
Example: 
Ord_354

Version*
String
N/
Suggestion
A
Required.

Specify the Shopify API version. Alternatively, click the Suggestion Image Modified icon to fetch the list of Shopify API versions.

Default Value: 

2021-

04

07
Example: 
2021-04

Product
ID
Id*
String
N/
Expression
A
Required. 

Specify a unique identifier for the product.

Default Value: N/A

$id

Example: prod_id

Resource
ID
Id*
String
N/
Expression
A
Required. 

Specify a unique identifier of the

operated resource to retrieve a specific record.

product variant of the product.

Default Value: N/A

$resid

Example: var_id

Number Of Retries
Integer
N/
Expression
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
Example:
2

Retry Interval (Seconds)
Integer
N/
Expression
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
Example: 2

Snap Execution
Drop-down list

N/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.

Validate & ExecuteExecute only

Troubleshooting

...

Default ValueExecute only
Example: 
Validate & Execute


Insert excerpt
Create Order
Create Order
nopaneltrue


Insert excerpt
Shopify Snap Pack
Shopify Snap Pack
nopaneltrue

...

See Also