Skip to main content

SubmitOfferResult

Possible responses when submitting an offer.

union SubmitOfferResult = OfferAlreadySubmittedError | OfferNotFoundError | SubmitOfferValidationError | SubmittedOffer | UnexpectedError

Possible types​

SubmitOfferResult.OfferAlreadySubmittedError object​

Error when the offer has already been submitted and cannot be submitted again.

SubmitOfferResult.OfferNotFoundError object​

Error indicating that the requested offer could not be found or accessed.

Common causes:

  • Invalid or expired offer ID
  • Offer exists but belongs to a different broker
  • Insufficient permissions to access the offer
  • On test environment, the offers reset every thursday and offers created before that date are not available anymore.

SubmitOfferResult.SubmitOfferValidationError object​

Validation errors returned by the insurance system when submitting the offer. These errors need to be resolved before the offer can be submitted.

SubmitOfferResult.SubmittedOffer object​

The offer was successfully submitted to the insurance system.

SubmitOfferResult.UnexpectedError object​

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

Returned By​

submitOffer mutation