---
title: "Place Order"
method: POST
path: "/globalstocks/orders"
tags: ["Global Stocks"]
---

# Place Order

`POST /globalstocks/orders`

Place a new order.

## Headers

- `access-token` string, required

## Request body

- InxOrderRequest
  - `dhanClientId` string — User specific identification generated by Dhan
  - `correlationId` string — The user/partner generated id for tracking back
  - `transactionType` 'BUY' | 'SELL', required — Transaction type - BUY or SELL
  - `orderType` 'MARKET' | 'LIMIT' | 'STOP_LOSS' | 'STOP_LOSS_MARKET' | 'AMOUNT', required — Order type - MKT, LMT, SL, SLM, AMT
  - `securityId` string, required — Exchange standard identification for each scrip
  - `quantity` number, float — Number of shares for the order
  - `price` number, float — Price at which order is placed
  - `triggerPrice` number, float — Trigger price for SL/SLM orders
  - `stopLossPrice` number, float — Stop Loss Price for Super Order
  - `targetPrice` number, float — Target Price for Super Order
  - `amount` number, float — Amount for AMT order type
  - `afterMarketOrder` boolean — Flag to inform that the order placed is After Market Order

## Response `200`

Successful operation

- OrderStatusResponse
  - `orderId` string — Order specific identification generated by Dhan
  - `orderStatus` 'TRANSIT' | 'PENDING' | 'REJECTED' | 'CANCELLED' | 'PART_TRADED' | 'TRADED' | 'EXPIRED' | 'MODIFIED' | 'TRIGGERED' | 'INACTIVE' — | **Enum Values** | **Description** | |-----------------|---------------------------------------------| | TRANSIT | Did not reach the exchange server | | PENDING | Reached at exchange end, awaiting execution | | REJECTED | Rejected at exchange/broker’s end | | CANCELLED | Cancelled by user | | PART_TRADED | Partially Executed | | TRADED | Executed | | EXPIRED | Validity of order is expired |

---

[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)
