Articles in this section

Configure an additional mapping to add custom details for Shopify refunds and cancellation

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. 

  1. Log in to your integrator.io account with the required credentials.
  2. Click Shopify - NetSuite integration tile.
  3. Go to Flows > Refund and Cancellation sections.
  4. For the Shopify refund to NetSuite refund (add) flow:
    1. Next to this flow, click Mappings.
    2. On the Edit Mappings window, click Post order refunds (invoice or cash sale) to NetSuite.
    3. On the Mappings page, add the following mapping:
      DOCS_1388_mapping.jpg

      Export field (Shopify)

      Import field (NetSuite)

      refund_line_items[*].line_item_id

      Items : eTail Order Line Id

    4. Click Save & close.
  5. For the Shopify order cancellation to NetSuite cancellation (add) flow:
    1. Next to this flow, click Mappings.
    2. On the Mappings page, click Update order status in NetSuite.
    3. On the Mappings page, add the following mapping:

      Export field (Shopify)

      Import field (NetSuite)

      line_items[*].id

      Items : eTail Order Line Id

    4. Click Save & close.
Was this article helpful?
0 out of 0 found this helpful

Comments

2 comments
Date Votes
  • 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. 

    0
  • 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, 

    0

Please sign in to leave a comment.