Cancel Order
This API allows users to cancel an existing order (parent or child) on a specified exchange.
🛣️Path Parameters
| Fields | Type | Required | Description | Example/Enum |
|---|
| Exachange | string | Yes | Exchange segments | NSE EQ |
| order_id | string | Yes | Order ID is in URL encode form | NWSYF00005>3 |
| Fields | Type | Required | Description | Example/ENUM |
|---|
| Authorization | string | Yes | Your access token to authorize the request | acess_token |
| Content_type | string | Yes | Format of the data being sent. | application/json |
| x-api-key | string | Yes | Your API key for authentication | x-api-key |
🟢Success Response - 200 Ok
| Fields | Type | Description | Example/Enum |
|---|
| Status | String | Status of API Call | "sucess" |
| Code | String | code indicating result | "s-101" |
| message | String | Human-readable message | "Order Cancellation Sent to OMS" |
| data | String | Detailed result for each cancelled order | See below table |
📘Data Object Info field
| Fields | Type | Description | Example |
|---|
| orderId | string | System generated order ID after modification | "NWSYF00005>3" |