Skip to main content

UpdateCustomerResult

Results of an edit customer operation.

union UpdateCustomerResult = UpdatedCustomer | CustomerNotFoundError | MultipleCustomersFoundError | InsuranceSystemError | DataNotUpdatedError | UnexpectedError

Possible types​

UpdateCustomerResult.UpdatedCustomer object​

Successful result of an edit customer operation.

UpdateCustomerResult.CustomerNotFoundError object​

Error indicating that the requested customer was not found in the system.

Common causes:

  • Customer does not exist in the system
  • Invalid customer identifier provided
  • On test environment, the customers reset every Thursday and customers created before that date are not available anymore.

UpdateCustomerResult.MultipleCustomersFoundError object​

When multiple customers are found based on the provided input. This error indicates that the input was not specific enough to identify a single customer.

UpdateCustomerResult.InsuranceSystemError object​

Error indicating that the insurance system encountered an issue while processing the request that is not currently being handled by us. This includes

Common causes:

  • System maintenance/downtime: The insurance system is undergoing maintenance or is down intermittently, please try again later.
  • Invalid data combinations: The provided data is not valid, please check the reasons field for specific error details to fix the issue and try again..

UpdateCustomerResult.DataNotUpdatedError object​

The insurance system applied no change. Read reason for which situation applies and what to do about it.

UpdateCustomerResult.UnexpectedError object​

In case an unexpected error occurs during the update customer operation. Please contact customer support for assistance.

Returned By​

updateCustomer mutation