Alokai

CartAddressInput

Defines the billing or shipping address to be applied to the cart.

type CartAddressInput = {
  city: Scalars['String']['input']; /** The company specified for the billing or shipping address. */
  company?: InputMaybe<Scalars['String']['input']>; /** The country code and label for the billing or shipping address. */
  country_code: Scalars['String']['input']; /** The customer's fax number. */
  fax?: InputMaybe<Scalars['String']['input']>; /** The first name of the customer or guest. */
  firstname: Scalars['String']['input']; /** The last name of the customer or guest. */
  lastname: Scalars['String']['input']; /** The middle name of the person associated with the billing/shipping address. */
  middlename?: InputMaybe<Scalars['String']['input']>; /** The ZIP or postal code of the billing or shipping address. */
  postcode?: InputMaybe<Scalars['String']['input']>; /** An honorific, such as Dr., Mr., or Mrs. */
  prefix?: InputMaybe<Scalars['String']['input']>; /** A string that defines the state or province of the billing or shipping address. */
  region?: InputMaybe<Scalars['String']['input']>; /** An integer that defines the state or province of the billing or shipping address. */
  region_id?: InputMaybe<Scalars['Int']['input']>; /** Determines whether to save the address in the customer's address book. The default value is true. */
  save_in_address_book?: InputMaybe<Scalars['Boolean']['input']>; /** An array containing the street for the billing or shipping address. */
  street: Array<InputMaybe<Scalars['String']['input']>>; /** A value such as Sr., Jr., or III. */
  suffix?: InputMaybe<Scalars['String']['input']>; /** The telephone number for the billing or shipping address. */
  telephone?: InputMaybe<Scalars['String']['input']>; /** The VAT company number for billing or shipping address. */
  vat_id?: InputMaybe<Scalars['String']['input']>;
};

Referenced Types

On this page