Connect Loop Returns
Connect Loop Returns with your Loop API key and webhook secret, then map Loop return reasons to your reason codes.
In Uphance, you connect Loop Returns with your Loop API key and webhook secret, then map Loop return reasons to your return reason codes. Uphance registers a webhook in Loop that fires whenever a return is updated, with no manual enable step in Loop Admin.
Before you connect Loop Returns
- Have your Loop API key and webhook secret ready. You'll find both in Loop Admin under Developers.
- Uphance turns this on for your organization when you ask, so contact Uphance support to ask for it.
Connect Loop Returns
Connect your Loop account
You give Uphance two credentials from Loop, and it uses them to register its webhook in Loop. Registration stops if either one is blank.
- In Loop Admin, generate your API key under Developers, the same page where you'll find the Webhook Secret.

- On the Loop settings screen in Uphance, enter your Loop API key and webhook secret and submit them.
- Check the webhook section, which shows the registered webhook id, or a hint that the webhook isn't registered yet.
- If the webhook didn't register automatically, click the webhook URL field to select it, then paste that URL into Loop Admin yourself.
Once you're connected, the screen shows the webhook setup block with your webhook URL, plus the Loop Code Mapping section. The webhook is created as active, so it fires without you enabling it in Loop Admin. Uphance also saves your Loop shop id from Loop's response, so you never have to enter it.
Map Loop return reasons
Uphance matches each incoming Loop reason to your return reason codes, checking the Loop reason code first and then the name.
- In the Loop Code Mapping section, look over your Loop reason codes, each listed with its name, code and Loop reason code, and edit or delete any that need it.
- To add a mapping, give it a name and enter the Loop reason code, which can be up to 150 characters.
Each mapping you add is saved as a return reason code, which Uphance checks whenever a Loop reason comes in.
What happens next
- Watch for a New Loop reason code notification. When no reason code matches, Uphance creates one from the incoming value and asks your team to review and confirm the mapping under Loop Code Mapping.
- Expect a match only when the sale has exactly one return. Loop doesn't send a Shopify refund id, so Uphance can't tell several returns on one sale apart.
- Loop returns are matched to sales by Shopify order id, taken from the order details Loop sends.
- Keep an eye out for a Loop return quantity exceeded notification. If Loop asks to return more than is left to return on the sale, no return is created and the notification links you to the sale.
- Don't expect to see your saved credentials when you come back. The API key and webhook secret fields never show the stored value, only a row of dots when one is saved.
Fix sync problems
- If you're told the Loop API secret, the Loop webhook secret or the webhook URL is missing, the webhook wasn't registered because that value is blank.
- If you see a message that the Loop webhook API rejected the request, along with Loop's status, Loop refused the webhook registration. You can paste Uphance's webhook URL into Loop Admin yourself instead.
- If the settings screen says the webhook isn't registered, paste Uphance's webhook URL into Loop Admin to set it up by hand.
- If Loop webhooks are rejected with invalid signature, the signature didn't match. This also happens whenever the stored webhook secret is blank.