Alokai

Customer

Defines the customer name, addresses, and other details.

type Customer = {
  __typename?: 'Customer'; /** An array containing the customer's shipping and billing addresses. */
  addresses?: Maybe<Array<Maybe<CustomerAddress>>>; /** An array containing the customer's shipping and billing addresses. */
  addressesV2?: Maybe<CustomerAddresses>; /** Indicates whether the customer has enabled remote shopping assistance. */
  allow_remote_shopping_assistance: Scalars['Boolean']['output']; /** The contents of the customer's compare list. */
  compare_list?: Maybe<CompareList>; /** The customer's confirmation status. */
  confirmation_status: ConfirmationStatusEnum; /** Timestamp indicating when the account was created. */
  created_at?: Maybe<Scalars['String']['output']>; /** Customer's custom attributes. */
  custom_attributes?: Maybe<Array<Maybe<AttributeValueInterface>>>; /** The customer's date of birth. */
  date_of_birth?: Maybe<Scalars['String']['output']>; /** The ID assigned to the billing address. */
  default_billing?: Maybe<Scalars['String']['output']>; /** The ID assigned to the shipping address. */
  default_shipping?: Maybe<Scalars['String']['output']>;
  dob?: Maybe<Scalars['String']['output']>; /** The customer's email address. Required. */
  email?: Maybe<Scalars['String']['output']>; /** The customer's first name. */
  firstname?: Maybe<Scalars['String']['output']>; /** The customer's gender (Male - 1, Female - 2). */
  gender?: Maybe<Scalars['Int']['output']>; /** Name of the customer group assigned to the customer */
  group?: Maybe<CustomerGroup>; /** @deprecated Customer group should not be exposed in the storefront scenarios. */
  group_id?: Maybe<Scalars['Int']['output']>;
  id?: Maybe<Scalars['Int']['output']>; /** Indicates whether the customer is subscribed to the company's newsletter. */
  is_subscribed?: Maybe<Scalars['Boolean']['output']>; /** The customer's family name. */
  lastname?: Maybe<Scalars['String']['output']>; /** The customer's middle name. */
  middlename?: Maybe<Scalars['String']['output']>;
  orders?: Maybe<CustomerOrders>; /** An honorific, such as Dr., Mr., or Mrs. */
  prefix?: Maybe<Scalars['String']['output']>; /** Contains the customer's product reviews. */
  reviews: ProductReviews; /** A value such as Sr., Jr., or III. */
  suffix?: Maybe<Scalars['String']['output']>; /** The customer's Value-added tax (VAT) number (for corporate customers). */
  taxvat?: Maybe<Scalars['String']['output']>;
  wishlist: Wishlist; /** Retrieve the wish list identified by the unique ID for a `Wishlist` object. */
  wishlist_v2?: Maybe<Wishlist>; /** An array of wishlists. In Magento Open Source, customers are limited to one wish list. The number of wish lists is configurable for Adobe Commerce. */
  wishlists: Array<Maybe<Wishlist>>;
};

Referenced Types

On this page