Create an automatic renewal setting
Adds a standing rule for raising renewal offers automatically. Name a propertyId or a portfolioId to scope the rule, or leave both out for a company-wide one. This does not create any offer by itself.
Authorization
AuthorizationstringrequiredBody
application/json
portfolioIdstringScope the rule to this portfolio. A Snowflake id, sent as a decimal string.
propertyIdstringScope the rule to this property. A Snowflake id, sent as a decimal string.
addDaysBeforeintegerHow many days before a lease's end date to raise the offer. Between 1 and 365.
rentIncreasenumberRent increase to apply, as a fraction between 0 and 1 — 0.05 means five per cent.
newLeaseLengthMonthsintegerHow many months the renewed term should run for. Between 1 and 60.
newRecurringChargesobject[]Recurring charges the renewal should add.
conditionsobject[]Condition groups a lease must satisfy before an offer is raised. Each group needs an operator of and or or and at least one condition.
sendTenantNotifyOnRenewalbooleanWhether to tell the tenant when an offer is raised.
templatesobject[]Templates the renewal document should be built from.
Response
200 · The settings record that was created.
idstringId of the settings record. A Snowflake id, sent as a decimal string.
companyIdstringThe company the settings belong to. A Snowflake id, sent as a decimal string.
portfolioIdstringThe portfolio these settings apply to. Absent on company-wide settings. A Snowflake id, sent as a decimal string.
propertyIdstringThe property these settings apply to. Absent on portfolio-wide or company-wide settings. A Snowflake id, sent as a decimal string.
creatorobjectWho created the record.
addDaysBeforeintegerHow many days before a lease's end date the offer is raised.
rentIncreasenumberThe rent increase to apply, as a fraction between 0 and 1 — 0.05 means five per cent.
newLeaseLengthMonthsintegerHow many months the renewed term runs for.
newRecurringChargesNewRecurringCharge[]Recurring charges to add when the renewal is applied.
conditionsConditionGroup[]Groups of conditions a lease must meet before an offer is raised. Each group joins its own conditions with and or or, and every condition names its type.
sendTenantNotifyOnRenewalbooleanWhether the tenant is told when an offer is raised.
templatesTemplateRef[]Templates the renewal document is built from.
createdstring · date-timeWhen the settings were created, in the company's timezone.
updatedstring · date-timeWhen they last changed.
400 · The request failed validation. `errors` maps each field name to what was wrong with it.
401 · The access token is missing, expired, or not for this company.
These settings tell MagicDoor when and how to raise renewal offers by itself. They are not offers. To work with a specific renewal on a specific lease, see Lease renewals.