I am working on integrating order placement through the FYERS API and am attempting to place Intraday Bracket Orders programmatically.
When submitting an order with “productType”: “BO” along with stopLoss and takeProfit parameters, the API responds with an error stating that productType must be one of: “CNC”, “MARGIN”, or “INTRADAY”.
Could you please clarify:
• Whether Intraday Bracket Orders are currently supported via API
• The exact productType value that should be used for BO
• The correct structure of the request payload (including required and optional parameters)
• Whether stopLoss and takeProfit should be passed as price levels or point differences
If available, a sample working request would be greatly appreciated.
Looking forward to your guidance.