In this article
Table of Contents | ||||
---|---|---|---|---|
|
...
You can use this Snap to calculate refund transactions based on line items and shipped items.
Prerequisites
...
None.
Support for Ultra Pipelines
...
Excerpt | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Known Issues
None.
Snap Input and Output
Input/Output | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| |
Output | Document |
|
|
Snap Settings
Field Name | Data Type | Field Dependency | Description |
---|---|---|---|
Label | StringN/A | Required. 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: Calculate Order Refund Example: Ord_354 | |
Version | String/Expression | N/A | Required. Specify the Shopify API version. Alternatively, click the Suggestion icon to fetch the list of supported Shopify API versions and select a version. Default Value: 2021-04 Example: 2021-04 |
Order ID | String/Expression | N/A | Required. Specify a unique identifier for the order. Default Value: N/A Example: Ord_254 |
Number Of Retries | Integer/Expression | 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 Example: 2 |
Retry Interval (Seconds) | Integer/ExpressionN/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: 5 | |
Snap Execution | Drop-down list | N/A | Select one of the three modes in which the Snap executes. Available options are:
Default Value: Execute only Example: Validate & Execute |
Troubleshooting
Error | Reason | Resolution |
---|---|---|
| The requested shop is currently locked. Shops are locked if they repeatedly exceed their API request limit, or if there is an issue with the account, such as a detected compromise or fraud risk. | Wait for Shopify to unlock your account after a specified amount of time, after which you should be able to continue working on your Pipeline, or contact support if your shop is locked. |
Examples
Calculating Order Refund
This example Pipeline demonstrates how we can use the Calculate Order Refund Snap to achieve this result:
<screenshot of Pipeline/Snap and description>
...
"429 Too Many Requests" | Shopify APIs use different API rate-limiting methods. If the APIs exceeds the rate limit, the Snap fails. | See the API Call Limit documentation for a breakdown of Shopify's rate-limiting mechanism. |
Downloads
Note | ||
---|---|---|
| ||
|
...