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

# AddressInputType

GraphQL input

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

## Fields

- `companyId` — The id of company. Required
- `firstName` — The first name of address. Required
- `lastName` — The last name of address. Required
- `addressLine1` — The address line 1. Required
- `addressLine2` — The address line 2
- `country` — The full country name. Required
- `countryCode` — The iso2 code of country, like US. Required
- `state` — The full state name, required when the country has states in the bigcommerce country data.
- `stateCode` — The iso2 code of state
- `city` — The city name. Required
- `zipCode` — The zip code. Required
- `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

## Definition

```graphql
input AddressInputType {
  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
}
```