Skip to main content

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​

ParameterTypeRequiredDescriptionExample
exchangestringYesExchange segment in which the Bracket Order is placed"NSE_EQ"
order_idstringYesOrder ID of the Bracket Order to be exited"NXVZO00098K1"

🔍 Query Parameters​

ParameterTypeRequiredDescriptionExample
userIdstringYesUser ID (UCC)"{{user_id}}"
product_sourcestringNoSource of the order. Allowed values: WEBAPI, MOBILEAPI (case-insensitive). Any other value is ignored without an error."MOBILEAPI"

🔑 Header Parameters​

HeaderTypeDescriptionExample
Content-TypestringRequest payload formatapplication/json
AuthorizationstringAccess token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize request{{x-api-key}}

🟢 Success Response - 200 OK​

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code"s-101"
messagestringBracket Order exit success message"Bracket order exited successfully"
dataobjectOrder response detailsRefer Data Object Fields

📦 Data Object Fields​

FieldTypeDescriptionExample
orderIdstringSystem-generated order identification number"NXVZO00098K1"