Overview

One of the most common ways to utilize Loop data is by creating a Return Merchandise Authorization (RMA) or Advanced Shipping Notice (ASN). These tools provide your warehouse team with advance notice of incoming return packages and enable automatic logging of return data in systems like Warehouse Management Software (WMS).

Loop offers two main ways to receive return data: APIs and Webhooks.

APIs

There are two API endpoints commonly used for this scenario:

  1. Advanced Shipping Notice: Ideal for generating shipping notices with essential return details.

  2. Detailed Returns List: Includes detailed return line item information such as tax and discount amounts, return reasons, and exchange details.

Use the Advanced Shipping Notice endpoint for a summary of return data and the Detailed Returns List endpoint for comprehensive data.

Webhooks

Webhooks offer a proactive way to receive Loop data. Unlike APIs, webhooks automatically send updates to your application whenever certain events occur, eliminating the need for manual or scheduled API calls.

Commonly used webhook triggers:

  • Whenever a return is created or updated
  • Whenever a shipping label is created or updated

Webhooks offer several key benefits: they enable real-time data delivery, eliminate the need for frequent API polling, and facilitate efficient synchronization with WMS or other third-party logistics (3PL) software.

Below is an example of a common webhook flow: