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

# updateAddress

GraphQL MUTATION

Update an existing company address. Only provided fields are changed.

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

## GraphQL Schema

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

## Variables

```json
{
  "input": {
    "entityId": 0,
    "firstName": "example",
    "lastName": "example",
    "address1": "example",
    "address2": "example",
    "city": "example",
    "countryCode": "example",
    "stateOrProvince": "example",
    "phone": "example",
    "postalCode": "example"
  }
}
```