Update Companies (batch)

Beta
Batch update companies. * When the `independent company behavior` is enabled, you can assign a customer group to a company using the `customerGroupId` field. Once assigned, the customer group will be associated with all users within that company. If `customerGroupId` is set to 0, the customer group association will be removed from the company, and all users within the company will no longer have a group assigned. The `priceListAssign` field will not take effect; please configure the price list for the customer group directly in the BigCommerce control panel. * When the `independent company behavior` is turned off, the `customerGroupId` field will not take effect. You cannot change the association between B2B companies and BigCommerce customer groups. You will use the `priceListAssign` field to configure the price list assigned to the company.

Authentication

authTokenstring

Required to authenticate requests. Include the token in a header parameter called authToken.

Request

This endpoint expects a list of objects.
companyIdstringRequired>=1 character
companyNamestringOptional>=1 character
companyPhonestringOptional
companyEmailstringOptional>=1 character
addressLine1stringOptional
addressLine2stringOptional
citystringOptional>=1 character
statestringOptional>=1 character
countrystringOptional>=1 character
zipCodestringOptional
extraFieldslist of objectsOptional
priceListAssignlist of objectsOptional
customerGroupIdintegerOptional
BigCommerce Customer Group ID. Used to associate a BigCommerce Customer Group to a B2B company when the independent company behavior is enabled.

Response

Company Update Success
codedouble
dataobject
metaobject

Errors

400
Bad Request Error
404
Not Found Error
413
Content Too Large Error