# ReturnGo (prebuilt connector)

## Description

**ReturnGo** is a self-service return management portal that allows customers to return and exchange products increases revenue and customer retention.

## API documentation

API documentation for **ReturnGo** (used to build this connector) can be found via the link(s) below:

{% embed url="<https://support.returngo.ai/returngo-api-overview>" %}

{% embed url="<https://static.returngo.ai/api-doc/returngo-api-swagger.html>" %}

## Authentication&#x20;

When adding connector instances for **ReturnGo**, the following authentication methods are supported:

* [API key](#api-key-authentication)

### API key authentication

When a user chooses to [add a connector instance](https://doc.wearepatchworks.com/product-documentation/connectors-and-instances/working-with-instances/adding-an-instance) using **API key** authentication, the credentials below are prompted:

<table><thead><tr><th>Credential</th><th width="145" data-type="checkbox">Required?</th><th>Notes</th></tr></thead><tbody><tr><td><code>baseurl</code></td><td>true</td><td> Leave set to the default <code>api.returngo.ai</code></td></tr><tr><td><code>token</code></td><td>true</td><td>ReturnGo is installed as a Shopify app. Once installed, you can access <strong>settings</strong> <mark style="color:red;">|</mark> <strong>integrations</strong> <mark style="color:red;">|</mark> <strong>API</strong> to copy/add an API key.<br><img src="https://2440044887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYNcUBVQwSkOMG6KjZfz%2Fuploads%2FY0WC55cRW9xWvIkGHaXe%2Freturngo%20api%201.png?alt=media&#x26;token=5162d44b-c5a8-40d3-b9a2-6d953d88f2c3" alt=""></td></tr><tr><td><code>shop name</code></td><td>true</td><td>Update the first part of the default text with your shopify store name. Do not include an <code>https://</code> prefix. For example: <code>patchworks.myshopify.com</code>.</td></tr></tbody></table>


---

# 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://doc.wearepatchworks.com/product-documentation/connectors-and-instances/patchworks-connectors/returngo-prebuilt-connector.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.
