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

thanks

hi

any updates?

thanks

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?