Order modification python code not working

I have an executed buy order for which I have already placed a stoploss order (sell order), now I want to modify it to market order, but the python codes are not working for modification order
please provide a working code (python) example for the above mentioned



any updates?


To assist you better, could you please share the sample code you are using for order modification, either in Python or a similar cURL request, where you are encountering this issue?