> For the complete documentation index, see [llms.txt](https://3commas.gitbook.io/3commas-official-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://3commas.gitbook.io/3commas-official-api-docs/smarttrade/2.-update-smarttrade.md).

# Update SmartTrade

**Description:** Updates a existing SmartTrade in place using its ID<br>

**Permission:** SMART\_TRADES\_WRITE\
**Security:** SIGNED<br>

***

<mark style="color:purple;">**PATCH**</mark>

<mark style="color:purple;">**/v2/smart\_trades/{id}**</mark>

***

\ <br>

**Path Parameters**<br>

| Name     | Type    | Mandatory | Values | Description                                  |
| -------- | ------- | --------- | ------ | -------------------------------------------- |
| **`id`** | integer | Yes       |        | Unique 3Commas ID for this SmartTrade entity |

\ <br>

**Parameters response**<br>

{% hint style="info" %}
If successful, the response includes an updated copy of [SmartTrade](/3commas-official-api-docs/smarttrade.md) entity.
{% endhint %}

<br>

## Example request<br>

```json
PATCH /v2/smart_trades/12345678
```

<br>

## Example Response and errors<br>

<details>

<summary>Status: 200 OK</summary>

<br>

```json
```

</details>
