How to Add a Redirect URL for QuickReturns in Shopify
If you are migrating to QuickReturns and no longer want requests to be handled by your previous provider, you can add a redirect script to ensure all requests are routed correctly to QuickReturns.
Follow the steps below:
Step 1: Log in to Shopify
Go to your Shopify admin dashboard and click on Online Store from the left-hand menu.
Step 2: Navigate to Themes
In the Themes section, locate your active theme.
Step 3: Access Code Editor
Click on the three dots (⋯) next to your theme, then select Edit code from the dropdown.

Step 4: Open theme.liquid
In the search bar, type theme.liquid and open the file.

Step 5: Add the QuickReturns Redirect Script
Find the opening <body> tag in the file.
Paste the QuickReturns redirect script immediately beforethe <body> tag (at the top of the file).

<!-- Paste your QuickReturns redirect script here -->
<script>
if (window.location.pathname === "/apps/return_prime") {
window.location.replace("/apps/quickreturns");
}
</script>
Click Save to apply the changes.
You are all set to collect the request with Quickreturns.