Refresh

This website matrixify.app/tutorials/refund-existing-shopify-orders-in-bulk/ is currently offline. Cloudflare's Always Online™ shows a snapshot of this web page from the Internet Archive's Wayback Machine. To check for the live version, click Refresh.

Start Free Trial
Start Free Trial

How to refund existing Shopify Orders in bulk

Refund Orders in Bulk|Shopify Orders bulk refund export|Bulk refund Shopify Orders with import - table sample|Shopify Order refund notificaiton email receipt|Shopify Orders updated - refunded|Refunded Shopify Order - view in Shopify Admin

If you have to issue refunds for your existing Shopify Orders, and you have a lot of them, then doing it manually for a lot of Orders takes ages!

Here is how Matrixify can help you to bulk issue Shopify refunds for your Orders in a few simples steps.

Warning!

Always test with just one Order first to make sure you have it all set up correctly.
Only then, once this has been confirmed, are you ready to import the Order refunds into Shopify.

Summary of steps to bulk refund your Shopify Orders:

  1. Export existing Orders with the Matrixify app
  2. Make the import file from the exported Orders file
  3. Import the file using the Matrixify app

1. Export existing Orders with the Matrixify app

Include the following details for those Orders only:

  • Orders
    • Basic Columns
    • Line: Type
    • Line Items
    • Refunds

You can select to Export Orders by checking the “Orders” checkbox in the “Select Sheets” drop-down. Your Export set up should look something like this:

Export set up to Refund OrdersYou can also apply filters to target more specific Orders to Export.

2. Make the import file from the exported Orders file

Take the exported file and delete any other columns, keeping just these columns in your file:

  • ID
  • Name
  • Command
  • Line: …
  • Refund: …

Change the values for the following columns:

  • Command: set values “UPDATE” for all lines, so that the app knows you want to update existing orders.
  • Line: Type:
    • Change the “Line Item” rows to “Refund Line” for those lines which you want to refund. You can change the quantity and total amounts for them if you want to refund a smaller amount than paid.
    • Change the “Shipping Line” rows to “Refund Shipping” if you want to refund also the shipping cost.
  • Refund: ID: set any kind of number there, for example, “1” for all the rows – that way app will know it is one and the same refund. You can create several refunds by changing the “Refund: ID” number, and group several line items into several refunds if you like.
  • Refund: Note: write any notes you want to add about this refund.
  • Refund: Restock: put the TRUE there if you want to restock the refunded products, and FALSE if you don’t want to restock.
  • Refund: Restock Type – Only used when “Refund: Restock” is TRUE, and you are restocking only a part of a line item and its partially fulfilled. To restock the unfulfilled part of the line item put the value “cancel”, to restock fulfilled part of the line item put “return”.
  • Refund: Restock Location – If you have the “Refund: Restock” set as TRUE, then you can set here the name of the location to which the restocked items should be sent. If you leave this empty then the items will be sent back to the default location.
  • Refund: Send Receipt: put the TRUE if you want the customer to receive an e-mail notification about that refund. FALSE – if you don’t.

The final table you import will look something like this:

Bulk refund Shopify Orders with import - table sample

Warning!

You cannot specify a specific refund amount when refunding the full line item. If you wish to partially refund a specific item or just a specific amount please check the “Refund partially with a specific amount” section of the tutorial.

3. Import the file using the Matrixify app

When uploading your file, make sure that sheet/tab name is Orders so that app detects the file contents correctly if uploading an Excel file. If uploading a CSV file, you must make sure the file name includes the word Orders.

If detected data looks correct in the app, then you can start the import by pressing the Import button.

It should show that X count of Orders got updated.

Completed Order bulk Refund with Matrixify to Shopify storeWhen looking in Admin, your refunded Shopify Order will look like this:

Refunded Order with Matrixify

Warning!

Always test with just one Order first to make sure you have it all set up correctly.
Only then, once this has been confirmed, are you ready to import the Order refunds into Shopify.

Refund partially with a specific amount

You might need to refund the Orders not by Line Items, and not fully, but just partially. Say, you want to refund just the $10 for an Order.

You can do that, too:

  1. In addition, as instructed previously, include also the “Transactions” in the Orders export.
  2. Fill the row of “Line: Type” with value “Transaction“.
  3. Set the same “Refund: ID” value as for the “Refund Line” items (if you refund any line items).
  4. Fill the “Transaction: …” columns with the amount you want to refund. Make sure to set “Transaction: Force Gateway” to value “TRUE” so that the app can import new refund transactions by matching the correct gateway.

Essentially, if you just need to refund a certain amount, you only need to import one row with “Line: Type” = “Transaction“, and fill the “Refund: …” columns and “Transaction: …” columns with “Transaction: Force Gateway” being set to “TRUE“. The “Transaction: Gateway” column value and “Transaction: Currency” column value should match the original ‘sale’ transaction.

Where to go from here?