> 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.

# UpdateCompanyUserInput

GraphQL input

Input for updating a company user. Omitted fields are left unchanged.

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

## Fields

- `entityId` — The id of the company user to update.
- `firstName` — The user's first name.
- `lastName` — The user's last name.
- `phone` — The user's phone number.
- `companyRoleId` — The id of the company role to assign to the user.
- `extraFields` — The B2B extra field values to set on the user.

## Definition

```graphql
input UpdateCompanyUserInput {
  entityId: Int!
  firstName: String
  lastName: String
  phone: String
  companyRoleId: Int
  extraFields: CompanyUserExtraFieldsInput
}
```