Modify Cover Order
This API allows you to modify an existing Cover Order that is pending in the order book.
🛣️Path parameters
| Fields | Type | Required | Description | Example/Enum |
|---|
| Exchange | string | yes | Exchange segments | NSE_EQ |
| order_id | string | yes | Order ID (URL encoded format) | NWSYF00006>3 |
| Fields | Type | Required | Description | Example/Enum |
|---|
| Authorization | string | yes | Bearer token for authentication | access_token |
| x-api-key | string | yes | API key provided by broker | x-api-key |
📦Request Body Schema
📘Main Leg Object Fields
| Fields | Type | Required | Description | Example/Enum |
|---|
| order_type | string | yes | Order Types (only RL-MKT allowed) | RL-MKT  |
| quantity | object | yes | Total quantity to transact | 100 |
| traded quantity | object | yes | Quantity already traded (get from order book) | 40 |
| price | number | Yes | Price must be 0 for RL-MKT type orders | 0 |
📘Stoploss Leg Fields
| Fields | Type | Required | Description | Example/Enum |
|---|
| Legs | array(object) | yes | Array of stop-loss leg orders. | See below table |
📘Inside Stop-loss legs array: