Quotes API

Tip

See the Quotes feature topic for more information about quotes.

Endpoint Index

ActionEndpoint
Fetch all quotes for a policyGET /policies/{policyLocator}/quotes
Fetch a quoteGET /quotes/{quoteLocator}
Update a draft quotePATCH /quotes/{quoteLocator}
Create a new quote using an existing quotePOST /quotes/{quoteLocator}/createNew
Select a quotePATCH /quotes/{quoteLocator}/select
Price a quote and lock in detailsPATCH /quotes/{quoteLocator}/quote
Fetch pricing for a quote that has already been quotedGET /quotes/{quoteLocator}/price
Accept a quotePATCH /quotes/{quoteLocator}/accept
Invalidate a previously accepted quotePATCH /quotes/{quoteLocator}/invalidate
Discard a quotePATCH /quotes/{quoteLocator}/discard

Details

Fetch all quotes for a policy
GET /policies/{policyLocator}/quotes
    Request:
    NamePositionTypeRequired
    policyLocatorpathstringrequired
PolicyQuoteResponse
required
locator string
name string
policyholderLocator string
policyLocator string
productLocator string
productName string
state string draft | quoted | accepted | declined | discarded
selected boolean
createdTimestamp timestamp
updatedTimestamp timestamp
contractStartTimestamp timestamp
contractEndTimestamp timestamp
exposures [ExposureResponse]
fees [FeeResponse]

optional
issuedTimestamp timestamp
overrideResourcesAsOfTimestamp timestamp
resourcesAsOfTimestamp timestamp
grossFees number
automatedUnderwritingResult AutomatedUnderwritingResultResponse
grossFeesCurrency string
paymentScheduleName string
Fetch a quote
GET /quotes/{quoteLocator}
PolicyQuoteInvoiceResponse
required
issueTimestamp timestamp
startTimestamp timestamp
endTimestamp timestamp
financialTransactions [FinancialTransactionResponse]

optional
dueTimestamp timestamp
Update a draft quote
PATCH /quotes/{quoteLocator}
PolicyQuoteUpdateRequest
optional
name string
overrideResourcesAsOfTimestamp timestamp
policyEndTimestamp timestamp
policyStartTimestamp timestamp
fieldValues map<string,[string]>
addFieldGroups [FieldGroupCreateRequest]
updateFieldGroups [FieldGroupUpdateRequest]
removeFieldGroups [string]
addExposures [ExposureCreateRequest]
autofill [string]
paymentScheduleName string
removeExposures [string]
resetOverrideResourcesAsOfTimestamp boolean

Note

At least one property is required to be set on the PolicyQuoteUpdateRequest

Create a new quote using an existing quote
POST /quotes/{quoteLocator}/createNew
Select a quote
PATCH /quotes/{quoteLocator}/select
    Request:
    NamePositionTypeRequired
    quoteLocatorpathstringrequired
    Response: void

Note

The selected quote is used to determine which quote’s data is sent back with a PolicyResponse and which quote is displayed in the UI. It is also the quote that will be bound if the policy is finalized through the /policy API.

Price a quote and lock in details
PATCH /quotes/{quoteLocator}/quote
Fetch pricing for a quote that has already been quoted
GET /quotes/{quoteLocator}/price
Accept a quote
PATCH /quotes/{quoteLocator}/accept
Invalidate a previously accepted quote
PATCH /quotes/{quoteLocator}/invalidate
Discard a quote
PATCH /quotes/{quoteLocator}/discard
QuoteSummaryResponse
required
selected string
notDiscarded [QuoteSummaryResponseItem]
QuoteSummaryResponseItem
required
locator string
name string
state string draft | quoted | accepted | declined | discarded