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

# updateUser

GraphQL MUTATION

Update a company user. Only provided fields are changed.

**Deprecated:** Alpha version. Do not use in production.

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

## GraphQL Schema

```graphql
mutation ExampleMutation($input: UpdateCompanyUserInput!) {
  company {
    updateUser(input: $input) {
      entityId
      errors {
        message
        code
      }
    }
  }
}
```

## Variables

```json
{
  "input": {
    "entityId": 0,
    "firstName": "example",
    "lastName": "example",
    "phone": "example",
    "companyRoleId": 0,
    "extraFields": {
      "multipleChoices": [
        {
          "name": "example",
          "fieldValue": "example"
        }
      ],
      "numbers": [
        {
          "name": "example",
          "number": "example"
        }
      ],
      "texts": [
        {
          "name": "example",
          "text": "example"
        }
      ],
      "multilineTexts": [
        {
          "name": "example",
          "multilineText": "example"
        }
      ]
    }
  }
}
```