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

# UpdateCompanyAddressInput

GraphQL input

Input for updating an existing company address. Only provided fields are changed.

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

## Fields

- `entityId` — The id of the address to update.
- `firstName` — First name of the 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.
- `countryCode` — 2-letter country code.
- `stateOrProvince` — Name of State or Province.
- `phone` — Phone number.
- `postalCode` — Postal code.
- `label` — Label for the address.
- `extraFields` — Extra fields defined by merchant.
- `isShipping` — Whether this is a shipping address.
- `isBilling` — Whether this is a billing address.
- `isDefaultShipping` — Set as the default shipping address.
- `isDefaultBilling` — Set as the default billing address.

## Definition

```graphql
input UpdateCompanyAddressInput {
  entityId: Int!
  firstName: String
  lastName: String
  address1: String
  address2: String
  city: String
  countryCode: String
  stateOrProvince: String
  phone: String
  postalCode: String
  label: String
  extraFields: CompanyExtraFieldsInput
  isShipping: Boolean
  isBilling: Boolean
  isDefaultShipping: Boolean
  isDefaultBilling: Boolean
}
```