Skip to main content

CreateCustomerInput

Information needed to register a new individual customer. Corporate customers are not supported.

The field set matches what createOffer needs from a customer, so a customer registered here can be used as existingCustomer on an offer without further edits.

input CreateCustomerInput {
address: CustomerAddressInput!
dateOfBirth: Date!
email: Email!
firstName: NonEmptyString!
gender: Gender!
identification: CustomerIdentificationInput
landline: PhoneNumber
language: CustomerLanguage
lastName: NonEmptyString!
maritalStatus: MaritalStatus!
mobilePhone: PhoneNumber
nationality: Country!
occupation: NonEmptyString
profession: NonEmptyString!
taxIdentification: TaxIdentificationInput
}

Fields​

CreateCustomerInput.address ● CustomerAddressInput! non-null input​

Address of the customer.

CreateCustomerInput.dateOfBirth ● Date! non-null scalar​

Date of birth of the customer. Required: the insurance system computes policy duration from it, and an offer cannot be created for a customer without one.

CreateCustomerInput.email ● Email! non-null scalar​

Email address of the customer. Required: the insurance system identifies a person by their email, and it is how an offer later resolves this customer.

CreateCustomerInput.firstName ● NonEmptyString! non-null scalar​

First name of the customer.

CreateCustomerInput.gender ● Gender! non-null enum​

Gender of the customer.

CreateCustomerInput.identification ● CustomerIdentificationInput input​

Identification document of the customer.

CreateCustomerInput.landline ● PhoneNumber scalar​

Landline phone number of the customer.

CreateCustomerInput.language ● CustomerLanguage enum​

Language the customer is written to in. Defaults to German when omitted.

CreateCustomerInput.lastName ● NonEmptyString! non-null scalar​

Last name of the customer.

CreateCustomerInput.maritalStatus ● MaritalStatus! non-null enum​

Marital status of the customer.

CreateCustomerInput.mobilePhone ● PhoneNumber scalar​

Mobile phone number of the customer.

CreateCustomerInput.nationality ● Country! non-null scalar​

Nationality of the customer as an ISO 3166 country code.

CreateCustomerInput.occupation ● NonEmptyString scalar​

Job title or role of the customer. Defaults to profession when omitted.

CreateCustomerInput.profession ● NonEmptyString! non-null scalar​

Profession of the customer (e.g. Engineer, Teacher).

CreateCustomerInput.taxIdentification ● TaxIdentificationInput input​

Tax residencies and US tax status of the customer. Optional here, mandatory for a policyholder — see the note on the mutation.

Member Of​

createCustomer mutation