# OneStock (prebuilt connector)

## Description

[OneStock](https://www.onestock-retail.com/en/) is an order management system businesses use to grow sales, simplify returns, and optimise everything in between.

## API documentation

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

{% embed url="<https://developers.onestock-retail.com/>" %}

## Authentication&#x20;

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

* [Token authentication](#token-authentication)

### Token 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 **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>site id</code></td><td>true</td><td>Your OneStock site ID, as provided by OneStock.</td></tr><tr><td><code>user id</code></td><td>true</td><td>Your OneStock username, as provided by OneStock.</td></tr><tr><td><code>password</code></td><td>true</td><td><p>The password associated with your OneStock <code>user id</code>.</p><p><br></p></td></tr><tr><td><code>base url</code></td><td>true</td><td>Leave set to the default URL.</td></tr><tr><td><code>response authentication token key</code></td><td>true</td><td>Generate a OneStock token and enter it here. OneStock tokens can be generated via the OneStock API as detailed in <a href="https://developers.onestock-retail.com/#token-authentication">this OneStock guide</a>.</td></tr></tbody></table>
