Global Stocks

Get order by order ID

Retrieve a specific order by order ID.

get/globalstocks/orders/{order-id}

Path parameters

order-idstring required

Headers

access-tokenstring required

Response

Successful operation

dhanClientIdstring

User specific identification generated by Dhan

orderIdstring

Order specific identification generated by Dhan

exchangeOrderIdstring

Exchange order number

correlationIdstring

Correlation ID

transactionTypestring

Transaction type - BUY or SELL

exchangeSegmentstring

Exchange segment

productTypestring

Product type

orderTypestring

Order type - MKT, LMT, SL, SLM, AMT

validitystring

Order validity

tradingSymbolstring

Trading symbol

displayNamestring

Display name of the security

securityIdstring

Exchange standard identification for each scrip

quantitynumber float

Number of shares for the order (fractional supported)

remainingQuantitynumber float

Remaining quantity

tradedQtynumber float

Traded quantity

pricenumber float

Price at which order is placed

triggerPricenumber float

Trigger price

avgTradedPricenumber float

Average traded price

orderStatusstring

Order status

createTimestring

Order creation time

exchangeTimestring

Exchange time

updateTimestring

Last update time

omsErrorCodestring

OMS error code if any

omsErrorDescriptionstring

OMS error description

afterMarketOrderboolean

After market order flag

amountnumber float

Amount for AMT orders

lotSizeinteger

Lot size

fractionalFlagboolean

Fractional flag

legName'ENTRY_LEG' | 'STOP_LOSS_LEG' | 'TARGET_LEG' | 'NA'

Leg name for super orders

Changes

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