🧭 Overview
Loop Anywhere is a set of API-driven capabilities that allow you to push commerce data into Loop from any source. Whether your data lives in a commerce platform, ERP, OMS, or custom system, Loop Anywhere provides the APIs to bring it all together and power your returns experience.Why It Matters
Loop needs commerce data—orders, products, customers—to power the returns experience. With Loop Anywhere, you control how that data gets into Loop, giving you flexibility over the source, transformation, and timing of your commerce data sync.How It Works
Loop Anywhere integrations handle two directions of data flow between your systems and Loop:
How you build this integration is flexible—it could be a custom service, an integration platform, direct API calls from your existing systems, or any approach that can make HTTP requests and receive webhooks.
🏗️ Integration Architecture
Loop Anywhere integrations are organized into four functional “buckets.” Each bucket represents a distinct phase of the integration, and together they form a complete returns operation.Build in order. These buckets are designed to be implemented sequentially. Bucket I is a prerequisite for everything else—Loop can’t create returns without order data. Buckets II-IV can be built in parallel once data is flowing.
📦 Bucket I: Push Commerce Data to Loop
The first step is populating Loop with the commerce data it needs to power the returns experience. Your platform acts as the Source of Truth, and Loop uses this data to enable returns.For complete API documentation on all Commerce Data endpoints, see the Commerce Data guide.
Data Types and Sync Order
Not all data types are required for every integration. The table below shows what’s needed based on the return outcomes you want to support.ID Mapping Requirement
When you create a product in Loop, the API returns anid. Your integration must store this ID mapped to your platform’s external product ID. The same applies to variants. This mapping is used when:
- Creating orders (line items reference Loop Product IDs)
- Syncing inventory (keyed by Loop Variant ID + Location ID)
- Processing exchanges (matching items across systems)
Initial Sync vs. Ongoing Sync
Initial Sync (Historical Backfill) Before launching, you need to backfill historical data so customers can return recent orders. At minimum, sync orders going back to match your return policy window (e.g., 30, 60, or 90 days).1
Sync Products & Variants
Push your product catalog. Store the returned Loop IDs in your mapping table.
2
Sync Orders
Push historical orders, referencing Loop Product IDs in line items.
3
Sync Locations (if offering exchanges)
Create location records for warehouses and fulfillment centers.
4
Sync Inventory (if offering exchanges)
Push stock levels for each variant at each location.
5
Sync Collections (optional)
Create collections and attach products for advanced exchange rules.
📡 Bucket II: Get Return Data
Once returns are flowing through Loop, your systems need to know about them. This bucket is about listening—receiving notifications when customers initiate returns, when return status changes, and when returns are finalized.For complete documentation on retrieving return data, see the Retrieving Return Data guide.
Option 1: Webhooks
Loop can push return events to your systems in real time via webhooks. Subscribe to the events you care about and take action accordingly.
You’ll need an endpoint to receive these webhooks—this could be a serverless function, an integration platform flow, or a dedicated endpoint in your service.
Option 2: API Polling
You can poll Loop’s APIs on a schedule to check for return activity. This approach gives you full control over when and how often you pull data.🔧 Bucket III: In-Flight Management
Loop provides APIs to manage returns while they’re in progress. This is useful when another system—like your WMS, ERP, or a warehouse inspection workflow—needs to trigger actions on a return before it closes.For complete documentation on return actions, see the Actioning on Returns guide.
Common Use Cases
Inspection workflows: For high-value items that require physical inspection before approval, your warehouse or ERP can call the Process Return API only after inspection passes. This keeps Loop in sync with your internal approval flow.
Processing Triggers
Returns can be processed (finalized) in several ways:- Automatically: Based on Loop’s configured processing events (e.g., label scanned, package delivered)
- Via API: Your integration calls the Process Return API after external confirmation
- Manually: A team member processes the return in Loop’s admin
return.closed webhook, which kicks off outcome execution (Bucket IV).
💰 Bucket IV: Outcome Execution
When a return is processed and closed, Loop provides all the information needed to execute the outcome—what type of resolution, how much, and for which items. Your systems handle the actual execution. This is where the integration comes full circle: Loop tells you what and when; your platform handles how.Delivering Outcomes
Reconciliation: Closing the Loop
After executing an outcome in your external system, the data in Loop may become stale. Reconciliation ensures Loop’s records stay accurate—this matters if a customer returns additional items from the same order later.This reconciliation happens through the same Commerce Data APIs used in Bucket I. Your ongoing sync should catch these updates automatically if it’s listening for changes in your platform.
🛡️ Bucket V: Checkout+ API Integration
Checkout+ is Loop’s order protection product — covering returns, shipping issues, or both — directly at checkout via the Checkout+ API.Checkout+ is not enabled by default. To get started, reach out to support@loopreturns.com to enable it for your account.
⚠️ Technical Considerations
When building your integration, keep these implementation details in mind.✅ Conclusion
Loop Anywhere gives you full control over how commerce data flows into Loop and how return outcomes flow back to your systems. By working through the five buckets—pushing commerce data, getting return data, managing in-flight returns, executing outcomes, and offering order protection with Checkout+—you can build a complete returns integration tailored to your platform and business needs.📚 Related Resources
Commerce Data APIs
Detailed guide for syncing products, orders, customers, and more into Loop.
Retrieving Return Data
How to access return data via APIs and webhooks.
Actioning on Returns
Process, flag, cancel, and annotate returns via API.
Webhook Reference
Full documentation on Loop’s webhook topics and payloads.