Apex バイヤーアカウント作成
https://salesforce.stackexchange.com/questions/329844/connectapi-connectapiexception-this-isnt-a-buyer-account
isBuyer is not writable ⇒ 取引先にisBuyerあるけど書き込み不可(数式でもないくせして。。
関連テーブルがある
⇒
BuyerAccount buyerAccount = new BuyerAccount();
buyerAccount.BuyerId = account.Id;
buyerAccount.Name = 'Test Buyer Account (BA-AJ)';
buyerAccount.IsActive = true;
insert buyerAccount;