Skip to main content
POST
/
policies
/
{policyId}
/
quote
Quote the policy
curl --request POST \
  --url https://api.example.com/policies/{policyId}/quote \
  --header 'Content-Type: application/json' \
  --data '
{
  "options": [
    {
      "tier": "<string>",
      "excess": "<string>",
      "assetId": "<string>",
      "perils": [
        {
          "id": "<string>",
          "option": "<string>",
          "available": true,
          "unavailabilityMessage": "<string>"
        }
      ]
    }
  ],
  "skipValidation": true
}
'
{}

Path Parameters

policyId
string
required

the policy's id

Query Parameters

whenAt
string

Optional: the whenAt datetime

branchId
string
required

the branchId

Body

application/json
options
object[]
additionalQuoteComponentsAndPercentages
object

Additional quote components and percentages

skipValidation
boolean

Debug: force a quote to happen even if there are no changes to quote

Response

The response is of type object.