Is there a way to promote a version from testflight to production using the Apple Store API?
Use API to promote version from Testflight to Production
You can create a new App Store Version, attach a build to it, add the version to a review submission and submit it.