Part of the return Loop already does this What's still on your team
The shopper starts a return A branded self-serve portal, reasons, photos, and your return rules applied. Nothing, as long as the rules are set up. This part is Loop's.
Shipping it back Return labels through EasyPost, including UPS and USPS. Carrier costs reaching the right cost line in your books.
Exchanges Creates the replacement in Shopify, held until the return is processed, with options for out-of-stock items. Exchanges and their price differences being recorded properly when your accounting sync reads Shopify.
Restocking Restocks into Shopify when the return is processed, if you turn that on, or fires a restock webhook instead. An ERP, 3PL or warehouse system that keeps its own counts. Something has to catch that webhook.
Apps around the store Connects to ShipBob, ShipHero, Gorgias, Klaviyo and many more Shopify apps. Whatever you run that isn't on that list.