Skip to main content

CreatePartnerLifeMagicLinkResult

Result of creating a Partner Life magic link.

On success, returns a PartnerLifeMagicLink containing the one-time SSO URL. On failure, returns one of the error types.

Always include the ErrorInterface fragment in your query to handle errors generically.

union CreatePartnerLifeMagicLinkResult = PartnerHasNoEmailError | PartnerHasNoPartnerLifeAccountError | PartnerLifeMagicLink | PartnerNotFoundError | UnexpectedError

Possible types

CreatePartnerLifeMagicLinkResult.PartnerHasNoEmailError object

The partner does not have an email address configured in the insurance system. An email address is required to create a magic link.

CreatePartnerLifeMagicLinkResult.PartnerHasNoPartnerLifeAccountError object

The partner's Partner Life account has not been activated yet. Set both acceptPartnerLifeTermsAndConditions and acknowledgePartnerLifePrivacyPolicy to true in the input to activate the account and generate the magic link in one step. Alternatively, the partner can visit https://partner.life.li to activate their account manually.

A successfully created magic link for Partner Life SSO authentication.

CreatePartnerLifeMagicLinkResult.PartnerNotFoundError object

The specified partner was not found, is not accessible from your broker tree, or has been deactivated.

CreatePartnerLifeMagicLinkResult.UnexpectedError object

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

Returned By

createPartnerLifeMagicLink mutation