Skip to main content

PLACE CART ORDERS API

This API places all the orders contained within a given order cart in a single call.

Endpoint: POST /transactional/v1/ordercart/placecartorders

🔑 Header Parameters

HeaderTypeDescriptionExample
Content-TypestringSpecifies the media type of the requestapplication/json
AuthorizationstringBearer token for authenticated requests{{access_token}}

📑 Request Body Parameters

FieldTypeRequiredDescriptionExample
ordercartIdstringYesID of the order cart to be executed"2662 1D"
ordercartNamestringYesName of the order cart"CART01"
ordersarrayYesArray of individual order objects to be placedRefer below

📘 Orders Array — Order Object Fields

FieldTypeRequiredDescriptionExample / Enum
scrip_infoobjectYesInstrument detailsRefer below
transaction_typestringYesOrder side"BUY", "SELL"
product_typestringYesProduct type of the order"DELIVERY"
order_typestringYesOrder type"RL-MKT"
quantityintegerYesNumber of units to transact2
pricestringYesPrice per unit"0.00"
trigger_pricestringNoTrigger price for SL orders"0.00"
disclosed_quantityintegerNoQuantity disclosed to the market0
validitystringNoOrder validity"DAY", "EOSESS"
is_amobooleanNoAMO (After Market Order) flagfalse
order_identifierstringNoCustom identifier, typically the cart ID"2662 1D"

📘 scrip_info Object Fields

FieldTypeRequiredDescriptionExample
exchangestringYesExchange segment"NSE_EQ", "BSE_EQ"
scrip_tokenintegerYesExchange token of the instrument22
symbolstringYesInstrument trading symbol"ACC"
seriesstringYesSeries of the instrument"EQ", "A"
expiry_datestringNoExpiry date for F&O instruments""
strike_pricestringNoStrike price for options"NaN"
option_typestringNoOption type for derivatives""

🟢 Success Response - 200 OK

Content-Type: application/json

FieldTypeDescriptionExample
statusstringStatus of API call"success"
codestringResponse code to user request"s-101"
messagestringSuccess message"Cart orders placed successfully"
dataarrayArray of individual order resultsRefer to Data Object Fields

📦 Data Object Fields

Each element in data corresponds to one order placed from the cart.

FieldTypeDescriptionExample
statusstringStatus of the individual order"success"
codestringResponse code for this order"s-101"
messagestringOrder submission message"Order Entry Sent to OMS"
dataobjectOrder response containing the order IDRefer below

📘 Nested data Object

FieldTypeDescriptionExample
orderIdstringSystem-generated order identifier"OBAPJ00005F5"