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

# customerAddressUpdate

GraphQL MUTATION

Update a customer address.  
Requires a BC Token.

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

## GraphQL Schema

```graphql
mutation ExampleMutation($addressData: CustomerAddressUpdateType!) {
  customerAddressUpdate(addressData: $addressData) {
    address {
      id
      createdAt
      updatedAt
      firstName
      lastName
      company
      bcAddressId
      address1
      address2
      city
    }
  }
}
```

## Variables

```json
{
  "addressData": {
    "firstName": "example",
    "lastName": "example",
    "company": "example",
    "address1": "example",
    "address2": "example",
    "city": "example",
    "phone": "example",
    "stateOrProvince": "example",
    "countryCode": "example",
    "postalCode": "example"
  }
}
```