You can now create a draft pull request via the REST API. View the REST API documentation for more information.