...
Excerpt |
---|
- 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 use 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.
|
...
Next, we configure the Create Order Snap to create an order. On validation, the Snap creates an order.
Create Order Snap Configuration | Output |
---|
Image Modified
| Image Modified |
Next, we configure the first Mapper Snap to map the ID against the Order Id column.

...
Next, we use the Group by Fields Snap to group the line items by Order ID. However, we are only interested in refund line items; hence, we specify refund_line_items in the Target field. Upon validation we see the list of items grouped under refund_line_items object.
Group By Fields Snap Configuration | Output |
---|
Image Modified
| Image Modified
|
Next, we use the Mapper Snap to pass the refund line items output from the upstream Snap to calculate order refund subsequently.

...