Skip to main content

CANCEL ORDER

This API allows you to cancel an existing pending order.

Once cancelled, the order will no longer be available for execution in the market.

🔗 Path Parameters

ParameterTypeRequiredDescriptionExample
exchangestringYesExchange segment"NSE_EQ"
order_idstringYesUnique order identifier"NWSDJ00022N3"

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringSpecifies the media type of the requestapplication/json
AuthorizationstringAccess token for authenticated requests{{access_token}}
x-api-keystringAPI key used to authorize the request{{x-api-key}}

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code to user request"s-101"
messagestringSuccess message"Order cancelled successfully"
dataobjectOrder response payloadRefer to Data Object Fields

📦 Data Object Fields

FieldTypeDescriptionExample
orderIdstringSystem-generated order identifier"NWSDJ00022N3"