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

# CustomerAddressUpdateType

GraphQL input

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

## Fields

- `firstName` — The first name of address. Required
- `lastName` — The last name of address. Required
- `company` — The company of address.
- `address1` — The address line 1. Required
- `address2` — The address line 2
- `city` — The city name. Required
- `phone` — The phone of address.
- `stateOrProvince` — The state or province name spelled out in full. Required when the country has states in the bigcommerce country data.
- `countryCode` — The iso2 code of country, like US. Required
- `postalCode` — The postal code of address. Required
- `addressType` — The address type. Residential or Commercial
- `formFields` — Form fields
- `bcAddressId` — The bc id of address. Required

## Definition

```graphql
input CustomerAddressUpdateType {
  firstName: String!
  lastName: String!
  company: String
  address1: String!
  address2: String
  city: String!
  phone: String
  stateOrProvince: String
  countryCode: String!
  postalCode: String!
  addressType: String
  formFields: [AddressFormFieldsInputType]
  bcAddressId: Int!
}
```