How to add SL and TP after Order is placed via API

Hi @Hardik @Naman @RahulDeshpande @Dhan @Dhan_Help ,

Could you please provide instructions on how to set up or modify orders with Stop Loss (SL), Take Profit (TP), and Trailing Stop Loss (Trailing SL) parameters through the API after placing a market order with the market price for NIFTY50 options?

Hello @shivdeep

Have answered this on another thread here: Error while running API Call - #14 by Hardik

Kindly avoid creating multiple threads on the community.