UpdateCustomerResult
Results of an edit customer operation.
union UpdateCustomerResult = CustomerNotFoundError | DataNotUpdatedError | InsuranceSystemError | MultipleCustomersFoundError | UnexpectedError | UpdatedCustomer
Possible types
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.DataNotUpdatedError object
No changes can be made via API if no data has been modified, or if the update is not permitted. The following fields can only be modified via API if the customer is related to any object other than an offer First name Last name Gender Date of birth If the data shall still be changed, the insurance company technical service needs to be contacted.
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
reasonsfield for specific error details to fix the issue and try again..
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.UnexpectedError object
In case an unexpected error occurs during the update customer operation. Please contact customer support for assistance.
UpdateCustomerResult.UpdatedCustomer object
Successful result of an edit customer operation.
Returned By
updateCustomer mutation