Alokai

CustomerCreateInput

An input object for creating a customer.

type CustomerCreateInput = {
  allow_remote_shopping_assistance?: InputMaybe<Scalars['Boolean']['input']>; /** The customer's custom attributes. */
  custom_attributes?: InputMaybe<Array<InputMaybe<AttributeValueInput>>>; /** The customer's date of birth. */
  date_of_birth?: InputMaybe<Scalars['String']['input']>;
  dob?: InputMaybe<Scalars['String']['input']>; /** The customer's email address. */
  email: Scalars['String']['input']; /** The customer's first name. */
  firstname: Scalars['String']['input']; /** The customer's gender (Male - 1, Female - 2). */
  gender?: InputMaybe<Scalars['Int']['input']>; /** Indicates whether the customer is subscribed to the company's newsletter. */
  is_subscribed?: InputMaybe<Scalars['Boolean']['input']>; /** The customer's family name. */
  lastname: Scalars['String']['input']; /** The customer's middle name. */
  middlename?: InputMaybe<Scalars['String']['input']>; /** The customer's password. */
  password?: InputMaybe<Scalars['String']['input']>; /** An honorific, such as Dr., Mr., or Mrs. */
  prefix?: InputMaybe<Scalars['String']['input']>; /** A value such as Sr., Jr., or III. */
  suffix?: InputMaybe<Scalars['String']['input']>; /** The customer's Tax/VAT number (for corporate customers). */
  taxvat?: InputMaybe<Scalars['String']['input']>;
};

Referenced Types

On this page