Create A Company User
Create a company user, which belongs company
Authentication
authTokenstring
API Key authentication via header
Path parameters
companyId
Headers
authToken
Auth token in header.
Request
Extra Field Values
email
firstName
lastName
phone
acceptWelcomeEmail
(0=will not receive email 1=will receive email)
Allowed values:
userRole
user role(0=admin 1=senior_buyer 2=junior_buyer 3=sales_rep)
uuid
channelIds
BigCommerce channel id list
originChannelId
BigCommerce channel id, used for BigCommerce customer origin channel id. This field takes effect only when the store default b2b channel is not configured
companyRoleId
The company role id. This field is only applicable to the company's RBAC feature. If your store doesn't utilize this feature, please do not use this field. When it has a value, it will override the value of the userRole field.
extraFields
Response
Response Success
code
Response status code
data
Response data
message
Response message
Errors
400
Bad Request Error
404
Not Found Error