Terminate a previous policy
When creating (POST) or updating (PUT) a quote, you can set
accept_previous_policy_termination in order to initiate the termination of the previous policy if the
occupancy is NOT "LANDLORD" or "RENTING_LANDLORD" (otherwise, you will receive an error 422).
accept_previous_policy_termination is true, then the
term_start_date and the
start_date will be set automatically to 40 days in the future, and cannot be set before that date. 40 days is the time required to terminate a previous policy.
Example: For a quote created on 2020-04-18 the
start_datecannot be set before 2020-05-28