Skip to main content

Modify Order

To get characters you need to make a POST call to the following url

REQUEST ATTRIBUTES

Request ParameterDescriptionMandatory
exchangeExchange nameYes
tsymTrading SymbolYes
nstordnoOrder IDYes
trantypeTransaction Type(B/S)Yes
pricetypeIt can be one of the following: MKT - Market Order, L - Limit Order, SL-L - Stop Loss Limit Order, SL-M - Stop Loss Market OrderYes
pricePrice at which the order was placedYes
qtyQuantity with which the order was placedYes
discqtyDisclosed QuantityYes
trgprcTrigger PriceYes
validityValidityYes
filledqtyFilledqtyYes
productProduct Code

RESPONSE ATTRIBUTES

Response ParameterDescription
resultOrder Number
curl / cURL
curl --location --request POST 'https://api.gwcindia.in/v1/modifyorder' \
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' \
--header 'Authorization: Bearer 3e81bfb2a1ef11d3bd3e9a8966d4d51e'
Request Example
{
"exchange":"NSE",
"tsym": "YESBANK-EQ",
"nstordno":"23031400017379",
"trantype":"B",
"pricetype":"MKT",
"price":"0",
"qty":"1",
"discqty":"0",
"trgprc":"0",
"validity":"DAY",
"filledqty":"1",
"product":"CNC"

}
Response Example
{
"status": "success",
"data": {
"result": "23031400017379"
}

}