Hi,
I assume there is no method available that converts leads to contacts like a user would do it using a browser. The approach here:
wasn’t doing that either, it was just updating the leads status to “converted” and creating some relationships.
Options:
do the conversation yourself using the already existing API methods (first updating the lead status, then creating a contact/account + the relationships)
create a custom API method that does the trick with less requests