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

# updateAccountSettings

GraphQL MUTATION

Update Account Settings.  
Requires a B2B Token.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/mutations/update-account-settings

## GraphQL Schema

```graphql
mutation ExampleMutation($updateData: InputAccountType!) {
  updateAccountSettings(updateData: $updateData) {
    result {
      firstName
      lastName
      company
      phoneNumber
      email
      formFields
      role
      extraFields
      companyRoleId
      companyRoleName
    }
  }
}
```

## Variables

```json
{
  "updateData": {
    "firstName": "example",
    "lastName": "example",
    "phoneNumber": "example",
    "email": "example",
    "currentPassword": "example",
    "newPassword": "example",
    "confirmPassword": "example",
    "formFields": [
      {
        "name": "example",
        "value": "example"
      }
    ],
    "companyId": 0,
    "extraFields": [
      {
        "fieldName": "example",
        "fieldValue": "example"
      }
    ]
  }
}
```