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

# AddressUpdateType

GraphQL input

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

## Fields

- `companyId` — The id of company. Required
- `firstName` — The first name of address
- `lastName` — The last name of address
- `addressLine1` — The address line 1
- `addressLine2` — The address line 2
- `country` — The full country name
- `countryCode` — The iso2 code of country, like US
- `state` — The full state name
- `stateCode` — The iso2 code of state
- `city` — The city name
- `zipCode` — The zip code
- `phoneNumber` — The phone number
- `isShipping` — Is this address used for shipping. 1 means true, 0 means false
- `isBilling` — Is this address used for billing. 1 means true, 0 means false
- `isDefaultShipping` — Is this address is the default shipping address.1 means true, 0 means false
- `isDefaultBilling` — Is this address is the default billing address.1 means true, 0 means false
- `label` — The address label
- `uuid` — The uuid of address
- `extraFields` — The extra fields
- `company` — The address company
- `addressId` — The id of address. Required

## Definition

```graphql
input AddressUpdateType {
  companyId: Int!
  firstName: String
  lastName: String
  addressLine1: String
  addressLine2: String
  country: String
  countryCode: String
  state: String
  stateCode: String
  city: String
  zipCode: String
  phoneNumber: String
  isShipping: Int
  isBilling: Int
  isDefaultShipping: Int
  isDefaultBilling: Int
  label: String
  uuid: String
  extraFields: [AddressExtraFieldInputType]
  company: String
  addressId: Int!
}
```