> For the complete documentation index, see [llms.txt](https://community.commandersact.com/datacommander/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://community.commandersact.com/datacommander/api/conversions-v1.0-deprecated.md).

# Conversions v1.0 (deprecated)

{% hint style="danger" %}
The following methods have been deprecated since January 2019.\
Please use [version 2.0](https://commanders.gitbook.io/datacommander/api/product-catalog).
{% endhint %}

### PUT conversion <a href="#get-segmentation-segments-list" id="get-segmentation-segments-list"></a>

Insert a new conversion

#### Resource URL <a href="#resource-url" id="resource-url"></a>

<https://api.commander1.com/engage/conversion/>

#### Resource Information <a href="#resource-information" id="resource-information"></a>

| Response formats         | JSON        |
| ------------------------ | ----------- |
| Requires authentication? | Yes (token) |

#### Parameters

| NAME                | REQUIREMENT    | EXAMPLE VALUES                   | DESCRIPTION       |
| ------------------- | -------------- | -------------------------------- | ----------------- |
| site                | d+             | 1234                             | Id of the site    |
| user\_id (optional) | d+             | 1234                             | Id of the user    |
| tc\_id (optional)   | d+             | 1234                             | Id of the visitor |
| token               | \[a-zA-Z0-9]\* | WvNIX8955cnZ7WF0f632s0Wb99Ql3rtA | Security token    |

#### Example Request <a href="#example-request" id="example-request"></a>

`PUT`

<https://api.commander1.com/engage/conversion/?site=1234\\&user\\_id=1234\\&tc\\_id=1234\\&token=WvNIX8955cnZ7WF0f632s0Wb99Ql3rtA>

```
{
"conversion_id":"1234",
"status":"ok",
"amount":"1234.12",
"arg4":"value",
...
}
```

#### Response <a href="#example-request" id="example-request"></a>

```
{"success":true}
```
