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

# CustomerAddressesType

GraphQL object

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/b2b/b2b-graphql/types/objects/customer-addresses-type

## Fields

- `firstName` — The first name of the customer address
- `lastName` — The last name of the customer address
- `company` — The company of the customer address.
- `address1` — The address 1 line.
- `address2` — The address 2 line.
- `city` — The city of the customer address.
- `stateOrProvince` — The state or province of the customer address.
- `postalCode` — The postal code of the customer address.
- `countryCode` — The country code of the customer address.
- `phone` — The phone number of the customer address.
- `addressType` — The address type. Residential or Commercial.
- `customerId` — The id of the customer.
- `id` — The id of the customer address.
- `country` — The country of the customer address.
- `formFields` — Array of form fields.

## Definition

```graphql
type CustomerAddressesType {
  firstName: String
  lastName: String
  company: String
  address1: String
  address2: String
  city: String
  stateOrProvince: String
  postalCode: String
  countryCode: String
  phone: String
  addressType: String
  customerId: Int
  id: Int
  country: String
  formFields: [FormFieldsType]
}
```