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

# addressUpdate

GraphQL MUTATION

Update a company address.  
Requires a B2B Token.

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

## GraphQL Schema

```graphql
mutation ExampleMutation($addressData: AddressUpdateType!) {
  addressUpdate(addressData: $addressData) {
    address {
      id
      createdAt
      updatedAt
      firstName
      lastName
      isShipping
      isBilling
      addressLine1
      addressLine2
      address
    }
  }
}
```

## Variables

```json
{
  "addressData": {
    "companyId": 0,
    "firstName": "example",
    "lastName": "example",
    "addressLine1": "example",
    "addressLine2": "example",
    "country": "example",
    "countryCode": "example",
    "state": "example",
    "stateCode": "example",
    "city": "example"
  }
}
```