> ## Documentation Index
> Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 合约修改止盈止损订单 (SIGNED)

`适用于用户进行修改合约止盈止损订单`

#### 请求URL

`POST https://cloud-api.wooxpro.com/contract/private/modify-tp-sl-order`

#### 请求限制

参见 [速率限制详细](/cn/rate-limit)

#### 请求参数

> 请求

```shell theme={null}
curl 
 -H 'X-API-KEY:{{AccessKey}}'
 -H 'X-API-TIMESTAMP:{{currentTime}}'
 -H 'X-API-SIGN:{{SIGN}}' 
 -X POST -d '{
  "symbol":"ETHUSDT",
  "trigger_price":"2100",
  "executive_price":"2100",
  "price_type":2,
  "order_id":"37758000001",
  "client_order_id":"",
  "plan_category":2,
  "category": "limit"
}'
https://cloud-api.wooxpro.com/contract/private/modify-tp-sl-order
```

| 参数                | 类型     | 是否必填 | 描述                                                                             |
| :---------------- | :----- | :--- | :----------------------------------------------------------------------------- |
| symbol            | String | 必填   | 合约交易对（如BTCUSDT）                                                                |
| order\_id         | String | 选填   | 订单id(order\_id和client\_order\_id必须提供一个)                                        |
| client\_order\_id | String | 选填   | 客户端自定义id, 幂等控制(order\_id和client\_order\_id必须提供一个)                              |
| trigger\_price    | String | 必填   | 触发价格                                                                           |
| executive\_price  | String | 选填   | 执行价格，订单 plan\_category = 1 必填                                                  |
| price\_type       | Int    | 必填   | 触发价格类型<br />-`1`=最新成交价<br />-`2`=标记价格                                          |
| category          | String | 选填   | 订单类型，全仓止盈止损默认为market，部分仓位止盈止损必传<br />-`limit`=执行订单为限价单<br />-`market`=执行订单为市价单 |
| plan\_category    | Int    | 选填   | 止盈止损类型<br />-`1`=部分仓位止盈止损<br />-`2`=全仓止盈止损                                     |

#### 响应详情

> 响应

```json theme={null}
{
  "code": 1000,
  "message": "Ok",
  "data": {
    "order_id": "220609666322019"
  },
  "trace": "13f7fda9-9543-4e11-a0ba-cbe117989988"
}
```

| 字段        | 类型     | 描述   |
| :-------- | :----- | :--- |
| order\_id | String | 订单编号 |
