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

# UpdateCustomerAddressDataInput

GraphQL input

Data fields to update on address.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/storefront/types/inputs/update-customer-address-data-input

## Fields

- `firstName` — First name of address owner.
- `lastName` — Last name of the address owner.
- `address1` — First line for the street address.
- `address2` — Second line for the street address.
- `city` — City.
- `company` — Company name associated with the address.
- `countryCode` — 2-letter country code.
- `stateOrProvince` — Name of State or Province.
- `phone` — Phone number.
- `postalCode` — Postal code for the address. This is only required for certain countries.
- `formFields` — Additional form fields defined by merchant.

## Definition

```graphql
input UpdateCustomerAddressDataInput {
  firstName: String
  lastName: String
  address1: String
  address2: String
  city: String
  company: String
  countryCode: String
  stateOrProvince: String
  phone: String
  postalCode: String
  formFields: CustomerFormFieldsInput
}
```