Bot Modify Order
Bot-only order modification endpoint. Modifies the price and/or quantity of an open order.
đ Requires IP whitelist authorization.
API Informationâ
- Method:
PUT - Path:
/fapi/v1/bot/orders/{id}
Request Parametersâ
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | Yes | Order ID |
Bodyâ
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | string | Yes | Trading pair |
| position_side | integer | Yes | Position side: 1=long, 2=short |
| position_action | integer | Yes | Action: 1=open, 2=close |
| new_price | string | No | New price |
| new_qty | string | No | New quantity |
Request Exampleâ
PUT /fapi/v1/bot/orders/1234567890123456789
{
"symbol": "BTC_USDT",
"position_side": 1,
"position_action": 1,
"new_price": "68800",
"new_qty": "0.2"
}