How can I convert quotes to invoice dynamically through the endpoint
Sorry, I don’t have a v4 sample to provide.
Note: if you upgrade to v5 you can use the app to generate sample API requests.
It may be possible by setting action=convert
Edit: sorry, I don’t think this will work. Reviewing the v4 code it looks like this functionality isn’t exposed through the API.