v3

OpenAPI 3.1.02026-08-0121336267.1 KB
Draft Quote

Coverage Option Prices

Simulate prices for alternative selections of one coverage on a draft quote.

For each requested option value, returns the total price the quote would have with that value applied — including any adjustments to dependent coverages the change requires. Nothing is saved; the quote is unchanged. Only available for new-business draft quotes.

post/v1/agency/draft_quote/{quote_id}/coverage_option_prices

Path parameters

quote_idstring required

Request body

coverage_namestring required

The coverage whose options should be priced

valuesstring[] required

The option values to price. Two special values are supported: 'no_coverage' prices the quote with the coverage declined, and 'add_coverage' prices the quote with the coverage added at its default configuration.

Example request

{
  "coverage_name": "all_other_perils_deductible",
  "values": [
    "1000",
    "2500",
    "5000",
    "__no_coverage__"
  ]
}

Response

Successful Response

coverage_namestring required

Example response

{
  "coverage_name": "all_other_perils_deductible",
  "baseline": {
    "premium_cents": 145000,
    "taxes_cents": 8450,
    "fees_cents": 6200
  },
  "options": [
    {
      "value": "2500",
      "price": {
        "premium_cents": 145000,
        "taxes_cents": 8450,
        "fees_cents": 6200
      }
    }
  ]
}