Skip to main content

NewCustomerInput

Input to create a new customer in the insurance system and associate them with the offer that is being created.

input NewCustomerInput {
email: Email
firstName: String!
lastName: String!
dateOfBirth: Date!
gender: Gender!
maritalStatus: MaritalStatus!
nationality: Country!
address: AddressInput!
phoneNumber: PhoneNumber @deprecated
mobilePhone: PhoneNumber
landline: PhoneNumber
birthPlace: NonEmptyString
birthCountry: Country
profession: String!
occupation: String
taxIdentification: TaxIdentificationInput
identification: IdentificationInput
}

Fields​

NewCustomerInput.email ● Email scalar​

Email address of the customer. **This field is optional unless the customer is a policyholder. Policyholders need access to this email to later activate the policy in the Prosperity App.**

NewCustomerInput.firstName ● String! non-null scalar​

First name of the customer (including any middle names).

NewCustomerInput.lastName ● String! non-null scalar​

Last name of the customer.

NewCustomerInput.dateOfBirth ● Date! non-null scalar​

Date of birth of the customer, used to calculate entry age and populate the policy application. The date cannot be in the future. Age limits depend on the product and the customer's policy role. Prosperity Junior permits an insured child aged 0–15; the policyholder must satisfy the adult entry limits.

NewCustomerInput.gender ● Gender! non-null enum​

The current gender of the customer.

NewCustomerInput.maritalStatus ● MaritalStatus! non-null enum​

The current marital status of the customer.

NewCustomerInput.nationality ● Country! non-null scalar​

The nationality of the customer. The ISO 3166 country code for the current country (ISO 3166 alpha-2/alpha-3 standards supported).

NewCustomerInput.address ● AddressInput! non-null input​

Home address of the customer.

NewCustomerInput.phoneNumber ● PhoneNumber deprecated scalar​

DEPRECATED

Use mobilePhone instead. Mobile phone numbers are not used in the insurance system.

Verified mobile phone number of the customer, in E.164 format (e.g. +4917604069000).

NewCustomerInput.mobilePhone ● PhoneNumber scalar​

Verified mobile phone number of the customer, in E.164 format (e.g. +4917604069000).

NewCustomerInput.landline ● PhoneNumber scalar​

Landline phone number of the customer, in E.164 format (e.g. +493023125000).

NewCustomerInput.birthPlace ● NonEmptyString scalar​

City or town where the customer was born, printed as "Geburtsort" on the application form (e.g. Berlin). Send the place only: the country goes in birthCountry. Not the same as identification.birthPlace, which records the place exactly as written on the identification document and is not printed on the application form.

NewCustomerInput.birthCountry ● Country scalar​

Country where the customer was born, printed as "Geburtsland" on the application form. The ISO 3166 country code for the country (ISO 3166 alpha-2/alpha-3 standards supported).

NewCustomerInput.profession ● String! non-null scalar​

What the customer studied and is qualified for.

NewCustomerInput.occupation ● String scalar​

What the customer presently does for a living. Defaults to profession if not set.

NewCustomerInput.taxIdentification ● TaxIdentificationInput input​

Taxation information for the customer. **This field is optional unless the customer is a policyholder**

NewCustomerInput.identification ● IdentificationInput input​

Information about the customer's identification document.

Member Of​

CreateOfferCustomerByInput input