# 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}
```


---

# 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://community.commandersact.com/datacommander/api/conversions-v1.0-deprecated.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.
