Update a quote Run in API Explorer
Quotes that aren't bound to an issued policy are fully editable. Once a policy is issued for a quote, the quote becomes uneditable.
Path parameters
-
quote
string Required The ID of the desired quote (e.g.,
qt_5DciVga8Kt
).
Body
-
contractor
string The ID of the contractor seeking a quote for insurance coverage.
-
coverage_type
array[string] An array of coverage types that can include one or more of the following insurance coverage values:
general
,professional
andworkers-comp
.Values are
general
,professional
, orworkers-comp
. -
effective_date
integer(int64) The date when the insurance coverage is set to take effect. Measured in seconds since the Unix epoch. This date must be set in the future. The default effective_date is the next day.
-
end_date
integer(int64) The date when the insurance coverage is set to expire. Measured in seconds since the Unix epoch. This date must be after the effective date. The default end_date is 30 days after the effective date.
-
job
string The ID of the job assignment that the contractor will be working on.
curl \
--request PUT 'https://api.1099policy.com/api/v1/quotes/{quote_id}' \
--header "Content-Type: application/json" \
--data '{"job":"jb_jsb9KEcTpc","end_date":1678334737,"contractor":"cn_Ehb3bYa","coverage_type":["general","workers-comp"],"effective_date":1646818364}'
{
"job": "jb_jsb9KEcTpc",
"end_date": 1678334737,
"contractor": "cn_Ehb3bYa",
"coverage_type": [
"general",
"workers-comp"
],
"effective_date": 1646818364
}
{
"contractor": "cn_Ehb3bYa",
"coverage_type": {
"coverage_type": [
"general",
"workers-comp"
]
},
"created": 1646818364,
"effective_date": 1646818364,
"eligible": true,
"end_date": 1678334737,
"gl_net_rate": 20,
"id": "qt_5DciVga8Kt",
"job": "jb_jsb9KEcTpc",
"net_rate": 65,
"quote_json": {
"gl": {
"net_rate": 20,
"stamping_fee": null,
"risk_purchasing_group_fee": null
},
"wc": {
"net_rate": 45
}
},
"wc_net_rate": 45
}