Bulk Create Companies
Bulk create companies
* When the `independent company behavior` is enabled, the system will not automatically create a dedicated customer group for each new Company account. Instead, you can assign a customer group to a Company account as needed using the `customerGroupId` field. If the `customerGroupId` field is not provided, the B2B company will be associated with the configured default customer group. If you have not configured a default customer group, the B2B company will not be associated with any customer group, and the company users within the company will have their corresponding customer record assigned to "No Group" in BigCommerce.
* When the `independent company behavior` is turned off, a new customer group will be automatically created and associated with each new Company account. In this case, you will not use the `customerGroupId` field.
Authentication
authTokenstring
Required to authenticate requests. Include the token in a header parameter called authToken.
Request
Bulk create companies request body
companyName
Name of this company
addressLine1
Address line 1 of ths company.
addressLine2
Address line 2 of ths company.
city
City name of the company.
state
State of the company.
zipCode
Zip code of the company.
country
Country of the company.
companyEmail
Contact email of this company.
companyPhone
Phone number of the company.
catalogName
Name of this company's catalog.
adminFirstName
First name of the company's administrator.
adminLastName
Last name of the company's administrator.
adminEmail
Email address of the company's administrator.
adminPhoneNumber
Phone number of the company's administrator.
acceptWelcomeEmail
If user accepts, the system sends a welcome email.
extraFields
Extra fields you want to add to the company fields.
channelIds
BigCommerce channel ID list
originChannelId
BigCommerce channel ID, used for BigCommerce customer origin channel ID. This field takes effect only when you do not configure the store default B2B channel.
customerGroupId
BigCommerce Customer Group ID. Used to associate a BigCommerce Customer Group to a B2B company when the independent company behavior is enabled.
userExtraFields
Response
OK
code
meta
data
Errors
400
Bad Request Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error