# Loop Returns

This guide will step through a typical return scenario where RMA's are used in Xoro.

1. Let's start with a typical Shopify order that's been dropped into Xoro and fulfilled/shipped. Then, the end customer decides to make a return or exchange on an item. They will initiate the return and it will appear in Loop's "Returns" page.<br>

   <figure><img src="/files/mXKwbkiKZ9GqnjOeEqQE" alt=""><figcaption><p>Loop's Returns page</p></figcaption></figure>

2. Before proceeding any further, in order to drop Loop returns as RMA's into Xoro, we need to ensure Loop is selected as the Third Party Return Source, Loop's API token is entered, and syncing returns is enabled - as so:<br>

   <figure><img src="/files/QdsE5AMRP0w1oD86jErJ" alt=""><figcaption><p>Xoro's Shopify App settings for Loop found in Settings -> Orders -> General -> Advanced</p></figcaption></figure>

3. There are 3 ways to import Loop returns into Xoro as RMA's:

   1. Manually by date range:<br>

      <div align="left"><figure><img src="/files/eYI92bfz3MU99mS5GKSl" alt=""><figcaption><p>Manually import by date range of RMA </p></figcaption></figure></div>

   2. Manually by RMA:<br>

      <div align="left"><figure><img src="/files/IoHL3ms6n6puYfO824H9" alt="" width="473"><figcaption><p>You can use Shopify's order# or Loop's return ID</p></figcaption></figure></div>

      \
      The Loop return ID can be found in the URL of an opened return. For example, the following URL: <https://admin.loopreturns.com/returns/52393555> would have a return ID of 52393555.\ <br>

   3. Automatically import Loop returns based on the Shopify app scheduler polling setting (ie. every 15 or 30 minutes).<br>

4. After a Loop return has been dropped into Xoro as an RMA, it will also generate an ASN automatically that is linked to the RMA. After the returned item has arrived, you can receive the ASN. Once the ASN has been closed, the Loop return will be automatically processed or flagged within a minute. You can check this by viewing the Loop return. If the ASN was not fully received, the Loop return will be flagged. If it was fully received, then it will be processed. For flagged returns, you will have to manually take action within Loop.\ <br>

5. For processed returns, upon the next Xoro Shopify App sync, the relevant transactions will be dropped into Xoro - depending on the return type:\ <br>
   1. Credit: a gift card will get dropped into Xoro as a credit memo.
   2. Refund: a refunded credit memo will get dropped into Xoro.
   3. Exchange: exchange order is dropped into Xoro.\ <br>

6. If a credit or refund was dropped, then the process ends here. In the future when the customer uses the gift card on their next order, the credit memo will automatically be applied to the invoice in Xoro.\
   \
   If an exchange order was dropped, then that order is picked packed and shipped as usual.\ <br>

The following attached PDF flowchart goes through the above process in detail :point\_down:

{% file src="/files/mhLN8pfO5n3cTE7JsL0b" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shop-docs.xorosoft.io/getting-started/third-party-integrations/loop-returns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
