Update an external insurance record
Corrects the details on a record of a policy bought outside MagicDoor. Only records awaiting review or already rejected can be changed; an approved record cannot. Omitted fields keep their current value. Requires the leasing_insurance:write permission.
Authorization
AuthorizationstringrequiredPath parameters
externalIdstringrequiredThe external insurance record to act on.
Body
application/json
Every field is optional. There is no way to clear a value: sending nothing leaves the stored value alone.
carrierNamestringThe insurance company that issued the policy. Up to 250 characters.
policyNumberstringThe policy number from the document. Up to 250 characters.
coverageAmountnumberCoverage in dollars. Must be 0 or more.
policyStartDatestring · date-timeWhen the policy takes effect.
policyEndDatestring · date-timeWhen the policy expires.
resubmitIfRejectedbooleanWhen the record was rejected, leaving this true puts it back in front of a reviewer and clears the rejection reason. Set it to false to correct a rejected record without resubmitting it.
Response
200 · The updated record.
idstringThe external insurance record's id.
leaseIdstringThe lease this policy covers.
companyIdstringThe company that owns the lease.
carrierNamestringThe insurance company that issued the policy. An empty string when none was recorded.
policyNumberstringThe policy number taken from the document. Absent when none was recorded.
coverageAmountnumberCoverage in dollars. Absent when none was recorded.
policyStartDatestring · date-timeWhen the policy takes effect.
policyEndDatestring · date-timeWhen the policy expires.
stateenum<string>Where the record stands with the reviewer. A new record starts at pending; only an approved record counts as coverage for the lease.
rejectionReasonstringWhy the record was rejected. Absent unless state is rejected and a reason was given.
insurancePolicyFileobjectThe uploaded proof of insurance. Absent when the record has no document attached.
deletedstring · date-timeWhen the record was deleted. Absent while the record is live.
createdstring · date-timeWhen the record was created.
updatedstring · date-timeWhen the record last changed.