Alokai

CustomerAddress

Contains detailed information about a customer's billing or shipping address.

type CustomerAddress = {
  __typename?: 'CustomerAddress'; /** The customer's city or town. */
  city?: Maybe<Scalars['String']['output']>; /** The customer's company. */
  company?: Maybe<Scalars['String']['output']>; /** The customer's country. */
  country_code?: Maybe<CountryCodeEnum>;
  country_id?: Maybe<Scalars['String']['output']>; /** @deprecated Use custom_attributesV2 instead. */
  custom_attributes?: Maybe<Array<Maybe<CustomerAddressAttribute>>>; /** Custom attributes assigned to the customer address. */
  custom_attributesV2: Array<Maybe<AttributeValueInterface>>;
  customer_id?: Maybe<Scalars['Int']['output']>; /** Indicates whether the address is the customer's default billing address. */
  default_billing?: Maybe<Scalars['Boolean']['output']>; /** Indicates whether the address is the customer's default shipping address. */
  default_shipping?: Maybe<Scalars['Boolean']['output']>; /** Contains any extension attributes for the address. */
  extension_attributes?: Maybe<Array<Maybe<CustomerAddressAttribute>>>; /** The customer's fax number. */
  fax?: Maybe<Scalars['String']['output']>; /** The first name of the person associated with the shipping/billing address. */
  firstname?: Maybe<Scalars['String']['output']>; /** The ID of a `CustomerAddress` object. */
  id?: Maybe<Scalars['Int']['output']>; /** The family name of the person associated with the shipping/billing address. */
  lastname?: Maybe<Scalars['String']['output']>; /** The middle name of the person associated with the shipping/billing address. */
  middlename?: Maybe<Scalars['String']['output']>; /** The customer's ZIP or postal code. */
  postcode?: Maybe<Scalars['String']['output']>; /** An honorific, such as Dr., Mr., or Mrs. */
  prefix?: Maybe<Scalars['String']['output']>; /** An object containing the region name, region code, and region ID. */
  region?: Maybe<CustomerAddressRegion>; /** The unique ID for a pre-defined region. */
  region_id?: Maybe<Scalars['Int']['output']>; /** An array of strings that define the street number and name. */
  street?: Maybe<Array<Maybe<Scalars['String']['output']>>>; /** A value such as Sr., Jr., or III. */
  suffix?: Maybe<Scalars['String']['output']>; /** The customer's telephone number. */
  telephone?: Maybe<Scalars['String']['output']>; /** The customer's Value-added tax (VAT) number (for corporate customers). */
  vat_id?: Maybe<Scalars['String']['output']>;
};

Referenced Types

On this page