Position Conversion
Convert an existing open position from one prodct type to another (eg., Delivery → Intraday or Intraday → Delivery).
📦Request Body Schema
| Field | Type | Required | Description | Example/ENUM |
|---|
| exchange | string | Yes | Exchange segments | "NSE" |
| scrip_token | integer | Yes | Token ID of the instrument | 10123 |
| transaction_type | string | Yes | Direction of trade | "BUY" |
| quantity | integer | Yes | Quantity to convert | 100 |
| old_product_type | string | Yes | Existing Product type | "DELIVERY" |
| new_product_type | string | Yes | Product type to convert into | "INTRADAY" |
| bo_order_id | string | No | Bracket Order ID (Required only for Bracket Orders) | "B0123456" |
🟢Success Response - 200 Ok
| Field | Type | Description | Example |
|---|
| status | string | Indicates the result of API Call | "success" |
| code | string | Response code corresponding to the request | "s-101" |
| message | string | Descriptive message for the response | "Success Message" |
🔴 Error Response - 400 Bad Request
| Field | Type | Description | Example |
|---|
| status | string | Status of the API call Default Error | "error" |
| code | string | Error code indicating the failure | "e-101" |
| message | string | Specific message explaining the reason for failed request. | "Error Message" |