# Avasam (prebuilt connector)

## Description

**Avasam** is a dropshipping platform for retailers and sellers in the UK - including tools needed to integrate online stores, source quality products from UK-based suppliers, and to automate order processing, payments and shipping.

## API documentation

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

{% embed url="<https://help.avasam.com/docs/supplier-api>" %}

## Authentication&#x20;

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

* [OAuth 2 (client credentials)](#oauth-2-authorisation-code)

### OAuth 2 (client credentials)

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

<table><thead><tr><th>Credential</th><th data-type="checkbox">Required?</th><th>Notes</th></tr></thead><tbody><tr><td><code>Grant type</code></td><td>true</td><td>Leave set to <code>client_credentials</code></td></tr><tr><td><code>Secret key</code></td><td>true</td><td>The <strong>secret key</strong> generated to allow API access for Patchworks, via the Avasam dashboard (user management). Please see <a href="https://help.avasam.com/docs/seller-api#creating-an-api-key-to-use-the-avasam-api">this Avasam help article</a> for guidance on generating API credentials.</td></tr><tr><td><code>Consumer key</code></td><td>true</td><td>The <strong>consumer key</strong> generated to allow API access for Patchworks, via the Avasam dashboard (user management). Please see <a href="https://help.avasam.com/docs/seller-api#creating-an-api-key-to-use-the-avasam-api">this Avasam help article</a> for guidance on generating API credentials.</td></tr><tr><td><code>Response authentication token key</code></td><td>true</td><td>Leave set to <code>access_token</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/avasam-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.
