Versions Compared

Key

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


In this article

...

You can use this Snap to update customer records from Shopify.

Prerequisites

...

None.

...

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations 

...

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 

Binary



  • Min:1
  • Max:1
  • Mapper Snap
  • Copy Snap

Customer details in JSON format. For example,

{
customerAccessToken {
accessToken
expiresAt
}
customerUserErrors {
code
field
message
}

Output

Binary

  • Min:1
  • Max:1
  • Mapper Snap

The updated customer object.

Snap Settings

ParameterData Type
Field NameField DependencyDescriptionDefault ValueExample
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 in your pipeline.

N

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: N/A
Example: Ord_354

2021-042021-04
Resource ID*
String
N/
Expression
A
Required. 

Specify a unique identifier for the resource.

Default Value: N/A
Example: Ord_354

N/A$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: N/A
Example: Ord_354

12
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

12
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.

Default ValueExecute only
ExampleValidate & Execute




Troubleshooting

Batch execution failed
ErrorReasonResolutionThe 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
Insert excerpt
XYZ Shopify Snap PackXYZ
Shopify Snap Pack
nopaneltrue

...

See Also

...