EXIT BRACKET ORDER
This API enables Bracket Order exit operations for authorized end users through a middleware-based integration.
Exiting a Bracket Order cancels the pending linked legs associated with the Bracket Order and closes the Bracket Order lifecycle.
🔗 Path Parameters
| Parameter | Type | Required | Description | Example |
|---|
| exchange | string | Yes | Exchange segment in which the Bracket Order is placed | "NSE_EQ" |
| order_id | string | Yes | Order ID of the Bracket Order to be exited | "NXVZO00098K1" |
🔍 Query Parameters
| Parameter | Type | Required | Description | Example |
|---|
| userId | string | Yes | User ID (UCC) | "{{user_id}}" |
| Header | Type | Description | Example |
|---|
| Content-Type | string | Request payload format | application/json |
| Authorization | string | Access token for authenticated requests | {{access_token}} |
| x-api-key | string | API key used to authorize request | {{x-api-key}} |
🟢 Success Response - 200 OK
Content-Type: application/json
| Field | Type | Description | Example |
|---|
| status | string | Status of API call | "success" |
| code | string | Response code | "s-101" |
| message | string | Bracket Order exit success message | "Bracket order exited successfully" |
| data | object | Order response details | Refer Data Object Fields |
📦 Data Object Fields
| Field | Type | Description | Example |
|---|
| orderId | string | System-generated order identification number | "NXVZO00098K1" |