NewCustomerInput
Input to create a new customer in the insurance system and associate them with the offer that is being created.
input NewCustomerInput {
address: AddressInput!
dateOfBirth: Date!
email: Email
firstName: String!
gender: Gender!
identification: IdentificationInput
landline: PhoneNumber
lastName: String!
maritalStatus: MaritalStatus!
mobilePhone: PhoneNumber
nationality: Country!
occupation: String
profession: String!
taxIdentification: TaxIdentificationInput
}
Fields
NewCustomerInput.address ● AddressInput! non-null input
Home address of the customer.
NewCustomerInput.dateOfBirth ● Date! non-null scalar
Date of birth of the customer, used to calculate the age of the customer but also used in the policy application. The value needs to be in the past and the age should be between 18 and 63 years of age.
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.gender ● Gender! non-null enum
The current gender of the customer.
NewCustomerInput.identification ● IdentificationInput input
Information about the customer's identification document.
NewCustomerInput.landline ● PhoneNumber scalar
Landline phone number of the customer.
NewCustomerInput.lastName ● String! non-null scalar
Last name of the customer.
NewCustomerInput.maritalStatus ● MaritalStatus! non-null enum
The current marital status of the customer.
NewCustomerInput.mobilePhone ● PhoneNumber scalar
Verified mobile phone number 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.occupation ● String scalar
What the customer presently does for a living. Defaults to profession if not set.
NewCustomerInput.profession ● String! non-null scalar
What the customer studied and is qualified for.
NewCustomerInput.taxIdentification ● TaxIdentificationInput input
Taxation information for the customer. **This field is optional unless the customer is a policyholder**