For the Shopify refund and cancellation flows, the integration app manages the line-level mappings internally. If you want to add any other details such as the reason for refund or cancellation, you have to add additional mappings at the line level.
- Log in to your integrator.io account with the required credentials.
- Click Shopify - NetSuite integration tile.
- Go to Flows > Refund and Cancellation sections.
-
For the Shopify refund to NetSuite refund (add) flow:
- Next to this flow, click Mappings.
- On the Edit Mappings window, click Post order refunds (invoice or cash sale) to NetSuite.
-
On the Mappings page, add the following mapping:
Export field (Shopify)
Import field (NetSuite)
refund_line_items[*].line_item_id
Items : eTail Order Line Id
- Click Save & close.
- For the Shopify order cancellation to NetSuite cancellation (add) flow:
-
- Next to this flow, click Mappings.
- On the Mappings page, click Update order status in NetSuite.
-
On the Mappings page, add the following mapping:
Export field (Shopify)
Import field (NetSuite)
line_items[*].id
Items : eTail Order Line Id
- Click Save & close.
Comments
I'm using the standard NetSuite refund to Shopify refund (add) connector to pass refunds from NetSuite to Shopify. I have created a custom "Reason for refund" field in NetSuite which I'm trying to the corresponding refund reason in Shopify. Do you know which field I map this to in Shopify? I've tried refund.reason but this doesn't appear to work.
Hello Greg Hockley
Thanks for reaching out to us. Actually "refund.reason" is not a valid field in Shopify refunds body. You can make use of the field "refund.note". There is already a mapping present in the flow, which you can make use of it,
Adding the Shopify refund details for your reference,
https://shopify.dev/api/admin-rest/2022-01/resources/refund#post-orders-order-id-refunds
Thanks,
Please sign in to leave a comment.