---
title: "Get order by order ID"
method: GET
path: "/globalstocks/orders/{order-id}"
tags: ["Global Stocks"]
---

# Get order by order ID

`GET /globalstocks/orders/{order-id}`

Retrieve a specific order by order ID.

## Path parameters

- `order-id` string, required

## Headers

- `access-token` string, required

## Response `200`

Successful operation

- InxOrderResponse
  - `dhanClientId` string — User specific identification generated by Dhan
  - `orderId` string — Order specific identification generated by Dhan
  - `exchangeOrderId` string — Exchange order number
  - `correlationId` string — Correlation ID
  - `transactionType` string — Transaction type - BUY or SELL
  - `exchangeSegment` string — Exchange segment
  - `productType` string — Product type
  - `orderType` string — Order type - MKT, LMT, SL, SLM, AMT
  - `validity` string — Order validity
  - `tradingSymbol` string — Trading symbol
  - `displayName` string — Display name of the security
  - `securityId` string — Exchange standard identification for each scrip
  - `quantity` number, float — Number of shares for the order (fractional supported)
  - `remainingQuantity` number, float — Remaining quantity
  - `tradedQty` number, float — Traded quantity
  - `price` number, float — Price at which order is placed
  - `triggerPrice` number, float — Trigger price
  - `avgTradedPrice` number, float — Average traded price
  - `orderStatus` string — Order status
  - `createTime` string — Order creation time
  - `exchangeTime` string — Exchange time
  - `updateTime` string — Last update time
  - `omsErrorCode` string — OMS error code if any
  - `omsErrorDescription` string — OMS error description
  - `afterMarketOrder` boolean — After market order flag
  - `amount` number, float — Amount for AMT orders
  - `lotSize` integer — Lot size
  - `fractionalFlag` boolean — Fractional flag
  - `legName` 'ENTRY_LEG' | 'STOP_LOSS_LEG' | 'TARGET_LEG' | 'NA' — Leg name for super orders
  - `childOrders` InxOrderResponse[] — Child legs for super orders

---

[API](https://skmtc.dev/dhan/apis/dhanhq-api.md) · [All operations](https://skmtc.dev/dhan/apis/dhanhq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dhan/dhanhq-api/revisions/2d368b9ed32d/schema)
