# Swap Commerce (prebuilt connector)

## Description

**Swap Commerce** is a leading returns platform that combines seamless returns experiences with flexible financing.

## API documentation

API documentation for **Swap Commerce** (used to build this connector) can be found via the links below:

{% embed url="<https://verdant-meteorite-da7.notion.site/returns-version-1-189d0b86abac47c48ba636c7c3e7ab75>" %}

{% embed url="<https://verdant-meteorite-da7.notion.site/products-version-2-55649368f19c414ba4b4221fcba95aea>" %}

{% embed url="<https://verdant-meteorite-da7.notion.site/rma-version-1-b36159a361284041858af839e7d1a3f9>" %}

## Authentication&#x20;

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

* [Token authentication](#token-authentication)

### Token authentication

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

<table><thead><tr><th>Credential</th><th width="162" data-type="checkbox">Required?</th><th>Notes</th></tr></thead><tbody><tr><td><code>token</code></td><td>true</td><td>Enter your Swap Commerce API token.</td></tr><tr><td>site id</td><td>true</td><td>Enter your Swap Commerce site id.</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/swap-commerce-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.
