We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Worked Example: From Expiring Policy to Renewal Quote
A renewal quote request is
INCOMPLETE
during solicitation,
SUBMITTED
once the underwriter takes it up, and
QUOTES_SHARED
when the quote is shared. Do not poll for a quote at solicitation time.
Step 1: Find expiring policies and their renewals
Copied
query ExpiringPolicies($first: Int!) { policies(first: $first) { edges { node { id policyNumber productType coverageEndsAt renewalQuoteRequest { id status } } } }}
Copied
{ "first": 50}
Copied
{ "data": { "policies": { "edges": [ { "node": { "id": "dgqfo4yDRqyKu25PiDTbtQ", "policyNumber": "CYB-123456-00", "productType": "CYBER", "coverageEndsAt": "2027-01-15", "renewalQuoteRequest": { "id": "Kx2v9WqSRZ-3bVrOjj1swA", "status": "SUBMITTED" } } }, { "node": { "id": "aQ7p1uPMbTh-6dEakvU_V9", "policyNumber": "TEO-654321-00", "productType": "TECH_EO", "coverageEndsAt": "2027-04-01", "renewalQuoteRequest": null } } ] } }}
The second policy has no renewal quote request yet. Check again later, or wait for the Renewal Solicitation Open webhook.
Step 2: Get the renewal quote
Look up the renewal with the expiring policy number (or with
renewalQuoteRequest.id
from step 1). When the status is QUOTES_SHARED, the renewal quote options are in quoteData.
Copied
query GetRenewalQuote($expiringPolicyNumber: String) { renewalQuoteRequest(expiringPolicyNumber: $expiringPolicyNumber) { id status isRenewal coverageEffectiveAt underwriter { name email } quoteData(first: 1) { edges { node { quoteOptions { id limitCents deductibleCents premiumCents } } } } }}
Copied
{ "expiringPolicyNumber": "CYB-123456-00"}
Copied
{ "data": { "renewalQuoteRequest": { "id": "Kx2v9WqSRZ-3bVrOjj1swA", "status": "QUOTES_SHARED", "isRenewal": true, "coverageEffectiveAt": "2027-01-15", "underwriter": { "name": "Jane Underwriter", "email": "jane.underwriter@example.com" }, "quoteData": { "edges": [ { "node": { "quoteOptions": [ { "id": "0Pd5uPMbTh-6dEakvU_V9Q", "limitCents": 100000000, "deductibleCents": 1000000, "premiumCents": 245000 } ] } } ] } } }}
To change anything on the renewal, such as limits or revenue, contact the underwriter on the renewal quote request. To bind, use the same bind operations as new business (see Bind Quote).