Super Order

cancel super order

User can cancel any leg of a super order which is PENDING using this API.

delete/super/orders/{order-id}/{order-leg}

Path parameters

order-idstring required

Order ID of the Order being cancelled

Order ID of the Order being cancelled

order-leg'ENTRY_LEG' | 'STOP_LOSS_LEG' | 'TARGET_LEG' required

Order Leg to be cancelled

Order Leg to be cancelled

Headers

access-tokenstring required

Response

Successful operation

orderIdstring

Order specific identification generated by Dhan

orderStatus'TRANSIT' | 'PENDING' | 'REJECTED' | 'CANCELLED' | 'PART_TRADED' | 'TRADED' | 'EXPIRED' | 'MODIFIED' | 'TRIGGERED' | 'INACTIVE'
Enum ValuesDescription
TRANSITDid not reach the exchange server
PENDINGReached at exchange end, awaiting execution
REJECTEDRejected at exchange/broker’s end
CANCELLEDCancelled by user
PART_TRADEDPartially Executed
TRADEDExecuted
EXPIREDValidity of order is expired

Changes

No recorded changes to this endpoint across all 1 revision of this API.