I have a case where we would like to create a web part for use in SharePoint Online where users can request to share a site with an external vendor. We would like to automate the process of Sharing to External users. Can anyone tell me if this capability is available via APIs or web services?