Skip to main content

Position Conversion

Convert an existing open position from one prodct type to another (eg., Delivery → Intraday or Intraday → Delivery).

🔑Header Parameters

HearderTypeRequiredDescriptionExample
Content-TypestringYesFormat of request payloadapplication/json
AuthorizationstringYesBearer access tokenBearer access token
x-api-keystringYesUnqiue API key providedx-api-key

📦Request Body Schema

FieldTypeRequiredDescriptionExample/ENUM
exchangestringYesExchange segments"NSE"
scrip_tokenintegerYesToken ID of the instrument10123
transaction_typestringYesDirection of trade"BUY"
quantityintegerYesQuantity to convert100
old_product_typestringYesExisting Product type"DELIVERY"
new_product_typestringYesProduct type to convert into"INTRADAY"
bo_order_idstringNoBracket Order ID (Required only for Bracket Orders)"B0123456"

🟢Success Response - 200 Ok

FiedTypeDescriptionExample
statusstringIndicates the status of the API call"success"
codestringResponse status code of the API Request"s-101"`
messagestringSuccess message of the API resultPosition Conversion Request Sent to OMS
dataobjectContains metadata about the converted order"oderID" : "PCV123456"

📘Data Object Info Field

FieldTypeDescriptionExample
order_IDstringSystem Generated order identification number after the position conversion is successful"PCV1234556"
put/transactional/v1/portfolio/positions