Super Order

modify pending super order

This API can be used to modify any leg of a Super Order till it is in PENDING or PART_TRADED state.

put/super/orders/{order-id}

Path parameters

order-idstring required

Headers

access-tokenstring required

Request body

dhanClientIdstring

User specific identification generated by Dhan

orderIdstring

Order specific identification generated by Dhan

orderType'LIMIT' | 'MARKET'
Enum ValuesDescription
LIMITFor Limit Order types
MARKETFor market Order types
legName'ENTRY_LEG' | 'STOP_LOSS_LEG' | 'TARGET_LEG'

ENTRY_LEG - Entire Super Order can be modified, only when main order status is PENDING, TARGET_LEG STOP_LOSS_LEG

quantityinteger

Quantity to be modified - only for ENTRY_LEG

pricenumber float

Price to be modified - only for ENTRY_LEG

targetPricenumber float

Target Price to be modified - ENTRY_LEG or TARGET_LEG

stopLossPricenumber float

Stop Loss Price to be modified - ENTRY_LEG or STOP_LOSS_LEG

trailingJumpnumber float

Stop Loss Price jump to be modified - ENTRY_LEG or STOP_LOSS_LEG

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.