Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Create a Business Unit in an Enterprise 2.0 Account

This sample code posts a SOAP envelope to the SOAP API. The application uses the information in that SOAP envelope within the API call to create the business unit.