Skip to main content

Cancel Order

This API allows users to cancel an existing order (parent or child) on a specified exchange.

🛣️Path Parameters

FieldsTypeRequiredDescriptionExample/Enum
ExachangestringYesExchange segmentsNSE EQ
order_idstringYesOrder ID is in URL encode formNWSYF00005>3

🔑Header Parameters

FieldsTypeRequiredDescriptionExample/ENUM
AuthorizationstringYesYour access token to authorize the requestacess_token
Content_typestringYesFormat of the data being sent.application/json
x-api-keystringYesYour API key for authenticationx-api-key

🟢Success Response - 200 Ok

FieldsTypeDescriptionExample/Enum
StatusStringStatus of API Call"sucess"
CodeStringcode indicating result"s-101"
messageStringHuman-readable message"Order Cancellation Sent to OMS"
dataStringDetailed result for each cancelled orderSee below table

📘Data Object Info field

FieldsTypeDescriptionExample
orderIdstringSystem generated order ID after modification"NWSYF00005>3"
delete/transactional/v1/orders/regular/{exchange}/{order_id}