It does not appear that there is a way to send this email through the GraphQL or the REST apis? When we create customers via the API, and assign them to companies, and give them location permissions - at no point along that workflow are the customers every automatically emailed their "B2B access email". This functionality is available in the Admin UI, however it appears this has been left out of the GQL/REST admin apis??
Surely there's a way to send the B2B access email when creating customers with the API. That would be really silly to do everything through the API and then have to got into the Admin UI to manually send the emai
Our team came across the same problem when trying to add a some B2B functionality to the Helium Customer Fields app, and unfortunately there doesn't seem to be any way to do this currently through the APIs.
The best solution we found is to use Shopify Flow to automate this email. You can set it to automatically trigger whenever a new company contact is added, or could also add conditions so that the Flow only proceeds in certain cases.