> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# CreateCompanyUserInput

GraphQL input

Input for creating a company user.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/inputs/create-company-user-input

## Fields

- `email` — The email of the company user. It must not already be in use in the store.
- `firstName` — The first name of the company user.
- `lastName` — The last name of the company user.
- `phone` — The phone number of the company user.
- `companyRoleId` — The id of the company role to assign to the company user, as returned by companyRoles.
- `extraFields` — The values of the company user extra fields defined by the merchant. Values are validated against each field's configuration.

## Definition

```graphql
input CreateCompanyUserInput {
  email: String!
  firstName: String!
  lastName: String!
  phone: String
  companyRoleId: Int!
  extraFields: CompanyUserExtraFieldsInput
}
```