This guide assumes your Loop plan includes the Happy Returns integration. For help enabling these features, contact your Loop point of contact or support@loopreturns.com.
The Happy Returns integration allows merchants to process returns that have been dropped off at Happy Returns Bars. Unlike standard mail returns, these items are consolidated at Happy Returns facilities before being shipped in bulk to your warehouse.This guide explains how to programmatically retrieve shipment data—specifically the Bag Barcode—to efficiently receive and process these returns in your warehouse.
Understanding the IDs is crucial. You have two main options for scanning: Bag Barcodes (standard) or Loop Return IDs (requires configuration).
ID Name
Description
Context
Bag Barcode
The pre-printed QR code on the polybag (e.g., HR200250DB9E).
Standard scanning method. Links to the return via package_reference.
Loop Return ID
The internal Loop ID (e.g., 12345).
Option: Can be printed on the bag label if enabled.
RMA ID
Customer-facing QR code (e.g., HRJYTQ5J).
Used at drop-off, rarely in warehouse.
Shipment ID
Unique ID for the consolidated shipment.
Represents the box/pallet containing multiple bags.
Pro Tip: Print Loop ID on BagsContact your Loop point of contact or support to enable the “Happy Returns Loop Return ID Printed On Bags” setting. This prints the actual Loop Return ID on the bag’s label, allowing your warehouse to scan and find the return directly without mapping a Bag Barcode.When to use: If your WMS or 3PL cannot easily map external barcodes and prefers direct order/return lookups.
In this workflow, your system listens for webhooks to “pre-alert” your WMS about incoming returns. When the shipment leaves the Happy Returns facility, you receive the data needed to recognize the Bag Barcode when it arrives.Workflow:
Extract the package_reference (this is the Bag Barcode) and id (Loop Return ID).
Ingest the return information into your WMS before the box arrives.
Scan the physical Bag Barcode on the polybag upon arrival to immediately identify and process the return.
{ "topic": "return", "trigger": "return.updated", "id": 1001, "state": "open", "package_reference": "HR200250DB9E", // This is the Bag Barcode "scannable_id": "HR200250DB9E", // Repurposed as Bag Barcode for HR returns "external_return_label_id": "SB-272610", // Box Barcode (shipping label) ...}
The package_reference field in the return.updated webhook will contain the Happy Returns Bag Barcode once the shipment is in transit.
By default, refunds are often issued at the time of drop-off. However, you can configure Loop to wait for warehouse inspection before refunding.Requirements:
Contact your Loop point of contact or support to enable “Manual Processing” mode.
Critical: The “Happy Returns Partial Return” shop setting must be disabled.
What if a bag doesn’t scan?
If a Bag Barcode doesn’t pull up a return, it might be a “Triage Item” (an item that wasn’t correctly linked at the Return Bar). Use the Happy Returns Shipments Report to look up the item manually.Why are there multiple Bag Barcodes?
Rarely, a single return might be split into multiple bags. loops API responses provide happy_returns_return_bag_barcodes as an array. Scanning any of the barcodes in this array should validly identify the return.Can I utilize my existing Return Logic?
Yes. If you use “Post-Inspection Processing,” you can apply your standard inspection workflows (e.g., grading, restocking fees) just as you would for a mail-in return.
The Happy Returns integration allows you to offer a premium, box-free return experience for your customers while maintaining efficient warehouse operations. By correctly mapping Bag Barcodes to Loop Return IDs—either via real-time webhooks or bulk API polling—you can ensure that every return is processed accurately and quickly.If you have questions about specific warehouse configurations or need to enable Manual Processing, please reach out to your Loop point of contact or support.
Assistant
Responses are generated using AI and may contain mistakes.