# Loop

Loop is a Shopify app that merchants use to handle customer returns and exchanges. Order Editing is fully integrated with Loop, ensuring returns and edits don't conflict.

**Integration method required:** Enable Loop integration in Order Editing settings

***

### How the Integration Works

When Loop integration is enabled, Order Editing automatically restricts the Loop Returns app from processing orders that are being edited.

What this prevents:

* Customers cannot initiate returns while actively editing their order
* Returns cannot be processed during the editing window
* Conflicts between edits and returns are avoided

Once editing period ends: Loop Returns app functions normally and customers can initiate returns/exchanges.

***

### Setup Instructions

#### Enable Loop Integration

1. Navigate to Order Editing > Settings > Integrations
2. Locate Loop Returns integration
3. Toggle Enable Loop integration to ON
4. Click Save

That's it! No Shopify Flow or additional configuration needed. The integration is automatic once enabled.

***

### Settings Summary

In Order Editing:

* Loop Returns integration: ENABLED
* Editing Deadline: Configured

In Loop:

* No configuration changes needed
* Loop automatically recognizes orders in editing window

***

### Testing

Test the integration:

1. Enable Loop integration in Order Editing settings
2. Place test order
3. During editing window, verify:
4. Customer can access Order Editing features
5. Loop Returns is restricted/unavailable for the order
6. Wait for editing period to expire
7. Verify Loop Returns becomes available for the order
8. Test initiating a return through Loop to confirm it works normally

***

### Troubleshooting

L**oop Returns still available during editing:** Verify Loop integration is enabled in Order Editing settings

**Loop Returns not working after editing period:** Check that editing period has fully expired

**Integration not functioning:** Confirm both Order Editing and Loop apps are installed and active


---

# 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://order-editing.gitbook.io/oe-help-book/integrations/integrating-order-editing-with-your-tech-stack/third-party-business-platforms/loop.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.
