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

# CompanyAddress

GraphQL object

A company address associated with a B2B company.

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

## Fields

- `entityId` — The unique ID of the company address.
- `firstName` — First name of the address contact.
- `lastName` — Last name of the address contact.
- `address1` — First line of the street address.
- `address2` — Second line of the street address.
- `city` — City.
- `country` — Full name of the country.
- `countryCode` — ISO 3166-1 alpha-2 country code.
- `stateOrProvince` — Name of the state or province.
- `stateOrProvinceCode` — State or province code (e.g. "CA" or "NSW").
- `phone` — Phone number for the address contact.
- `postalCode` — Postal or ZIP code.
- `label` — Optional label for the address (e.g. "Headquarters").
- `isDefaultShipping` — Whether this is the default shipping address for the company.
- `isDefaultBilling` — Whether this is the default billing address for the company.
- `isBilling` — Whether this address can be used for billing.
- `isShipping` — Whether this address can be used for shipping.
- `extraFields` — Extra fields defined by the merchant.
- `createdAt` — When the address was created, or null if unknown.
- `updatedAt` — When the address was last updated, or null if unknown.

## Definition

```graphql
type CompanyAddress {
  entityId: Int!
  firstName: String!
  lastName: String!
  address1: String!
  address2: String
  city: String!
  country: String!
  countryCode: String!
  stateOrProvince: String
  stateOrProvinceCode: String
  phone: String
  postalCode: String
  label: String
  isDefaultShipping: Boolean
  isDefaultBilling: Boolean
  isBilling: Boolean
  isShipping: Boolean
  extraFields: [ExtraFieldValue!]!
  createdAt: DateTime
  updatedAt: DateTime
}
```