Creates multiple Company accounts at once. You can create up to 10 Companies in a single request.
See Create a Company for recommendations on formatting individual Companies in the array.
Authentication
X-Auth-Tokenstring
### Authentication header
| Header | Argument | Description |
|:-------|:---------|:------------|
| `X-Auth-Token` | `access_token` | For more about API accounts that generate `access_token`s, see our [Guide to API Accounts](/developer/docs/overview/api-fundamentals/api-accounts). |
### Further reading
For example requests and more information about authenticating BigCommerce APIs, see [Authentication and Example Requests](/developer/docs/overview/api-fundamentals/api-accounts#x-auth-token-header-example-requests).
For more about BigCommerce OAuth scopes, see our [Guide to API Accounts](/developer/docs/overview/api-fundamentals/api-accounts#oauth-scopes).
For a list of API status codes, see [API Status Codes](/developer/api-reference/rest/overview#rest-http-status-codes).
OR
X-Store-Hashstring
### Authentication header
| Header | Argument | Description |
|:-------|:---------|:------------|
| `X-Store-Hash` | `store_hash` | The unique store hash associated with a BigCommerce store that has B2B Edition enabled. |
Request
This endpoint expects a list of objects.
acceptWelcomeEmailbooleanOptional
If user accepts, the system sends a welcome email.
addressLine1stringOptional<=200 characters
Address line 1 of ths company.
addressLine2stringOptional<=200 characters
Address line 2 of ths company.
adminEmailstringOptional1-100 characters
Email address of the company's administrator.
adminFirstNamestringOptional1-100 characters
First name of the company's administrator.
adminLastNamestringOptional1-100 characters
Last name of the company's administrator.
adminPhoneNumberstringOptional1-100 characters
Phone number of the company's administrator.
catalogNamestringOptional
Name of this company's catalog.
channelIdslist of integersOptional
The storefront channel IDs in which buyers can access their Company’s Buyer Portal. Use 1 for your store’s default storefront channel.
The ID of the BigCommerce customer group assigned to the Company account. This field can be static or configurable depending on whether or not your store uses Independent Companies behavior. See Independent Companies Behavior for more information.
extraFieldsobjectOptional
Extra fields you want to add to the company fields.
originChannelIdintegerOptional
The storefront channel ID designated as the origin for the Company administrator. Use 1 for your store’s default storefront channel.
statestringOptional<=50 characters
State of the company.
userExtraFieldslist of objectsOptional
zipCodestringOptional<=50 characters
Zip code of the company.
Response
OK
codeinteger
metalist of objects
dataobject
Errors
400
Bad Request Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error
Authentication header
Header
Argument
Description
X-Auth-Token
access_token
For more about API accounts that generate access_tokens, see our Guide to API Accounts.