Update an entity Run in API Explorer
Updates the specified entity by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
This request accepts mostly the same arguments as the entity creation call.
Body
-
The contracting entity's address.
Additional properties are allowed.
-
The contracting entity's minimum required coverage limits.
Additional properties are allowed.
-
The contracting entity's legal name.
-
An array of coverage types that can include one or more of the following insurance coverage values:
general
,professional
andworkers-comp
.Values are
workers_comp
,general_liability
, orprofessional_liability
.
PUT
/api/v1/entities/{entity_id}
curl \
--request PUT 'https://api.1099policy.com/api/v1/entities/{entity_id}' \
--header "Content-Type: application/json" \
--data '{"name":"Apple, Inc","address":{"line1":"One Apple Park Way","region":"CA","locality":"Cupertino","postalcode":95014},"coverage_limit":{"aggregate_limit":200000000,"occurrence_limit":100000000},"required_coverage":["general","workers-comp"]}'
Request example
{
"name": "Apple, Inc",
"address": {
"line1": "One Apple Park Way",
"region": "CA",
"locality": "Cupertino",
"postalcode": 95014
},
"coverage_limit": {
"aggregate_limit": 200000000,
"occurrence_limit": 100000000
},
"required_coverage": [
"general",
"workers-comp"
]
}
Response examples (200)
{
"name": "Apple, Inc",
"address": {
"line1": "One Apple Park Way",
"region": "CA",
"locality": "Cupertino",
"postalcode": 95014
},
"coverage_limit": {
"aggregate_limit": 200000000,
"occurrence_limit": 100000000
},
"required_coverage": [
"general",
"workers-comp"
]
}