Skip to main content

createCustomer

Register a customer in the insurance system without creating an offer for them.

The customer is assigned to the broker in your x-partner-id header. The returned customerID is immediately usable: pass it to the customer query, or to createOffer as existingCustomer.byID.ID.

Two behaviours worth knowing before you integrate:

  • A customer registered this way is reachable because of that broker assignment alone. Once they hold an offer or a contract, those records take over — so if their contract ends up with a broker outside your tree, the customer is no longer yours to read.
  • taxIdentification is optional here, because a customer is not necessarily a policyholder. A policyholder without it is rejected by the insurance system when the policy is issued, so supply it whenever you know the customer will hold the policy.
createCustomer(
input: CreateCustomerInput!
): CreateCustomerResult!

Arguments​

createCustomer.input ● CreateCustomerInput! non-null input​

Type​

CreateCustomerResult union​

Result of registering a customer.