SPY is connected under Settings → Integrations → SPY. The integration applies to the whole shop.
With SPY as your ERP, your warehouse processes the return in SPY. The general mechanics, who closes, the hold and what an edit or a cancel does, are in Your warehouse and Returnflows.
Connect SPY
You need the name of SPY's app in your Shopify store, and SPY needs access to returns and order edits in Shopify.
In SPY, open the list of your stores under Admin → Settings → Integration and select Edit on yours. Turn on Export Claims and Handle returns.
In SPY, choose a Default Claim Cause for the shop.
In Returnflows, select Install on SPY.
Enter the name of SPY's app in Shopify as App Name, exactly as written there.
If you use claims, then turn on Claim handling.
Select Install.
We only close a return when the refund in Shopify comes from the app named in App Name. If the name doesn't match, then returns stay open in Returnflows.
How a return runs
Your customer creates the return and gets the label as usual. We send the return reason to SPY, where it is matched to a Claim Cause by its External Name. A reason without a match gets your Default Claim Cause. A return isn't processed without a Default Claim Cause. Your customer's note on the return isn't sent to SPY.
When the return package arrives, your warehouse scans the package number in SPY under Sales → Claims/Returns → Scan Shopify Returns. The delivery has to be invoiced in SPY before the return can be scanned. After processing, the return waits in SPY for about one hour before the refund runs. SPY then closes the return in Shopify, and we close it in Returnflows with the refund or the exchange.
If Claim handling is on, then a claim linked to the return is closed with it. The claim has to be in Awaiting hand-in, In transit or Delivered. The resolutions Compensation Replacement, Compensation Giftcard and Return Giftcard aren't supported with SPY. Learn more in Resolutions.
Exchanges and restock
The exchange item is added to the original order in Shopify on hold. SPY reads it from Shopify and releases it by its status, when the return is closed or at hand-in with Instant Exchange. The exchange item appears in SPY when it is released. Learn more in Exchanges.
A price difference on the exchange is charged when the return is closed in SPY. With Instant Exchange, the exchange item can ship before the charge.
The Claim Type your warehouse chooses at scanning decides the restock. Return / Credit Note puts the product back in stock, Claim / Credit Note doesn't.
What to do in SPY
Process every return under Scan Shopify Returns. Never close a return in Shopify or in Returnflows. Always close it in SPY.
If a return is processed in SPY but stays open in Returnflows, then wait one hour first. Then check that it was processed under Scan Shopify Returns and that Handle returns is on in SPY. Check also that App Name matches SPY's app in Shopify.
Good to know
Gift cards aren't available with SPY. Your customers choose a refund or an exchange. Learn more in Return actions.
When you cancel a return, the return and the exchange item on hold are removed in SPY. Learn more in Cancel a return.
You can edit a return with SPY. Learn more in Edit Return.
Group returns aren't supported with SPY. Learn more in Group Returns.
Returns and claims with several labels are partly supported with SPY. Learn more in Multi-Label Criteria.
Don't delete a product in Shopify. Unpublish the product instead.





