You must specify either a unit_id
or unit_external_ref
for your lease.
If the corresponding unit record does not exist, you must create it separately via the relevant unit/property endpoints.
The authentication token for your request
Body
The parameters for the lease to update or create.
A unique identifier for the lease.
This will be used when determining whether a lease needs to be updated or created.
If this matches a lease that lease will be updated, otherwise a new one will be created.
The identifier for a lease can not be updated once it has been set.
When creating a new lease, a random, unique identifier will be set.
Any value passed in this request will only be used for finding an existing lease.
The start date of the lease.
The end date of the lease.
The move in date of the lease.
The id of the property associated with the lease.
The id of the property associated with the lease.
Whether the lease is for a furnished or unfurnished property.
Minimum days of notice that must be given to break the lease agreement.
The deposit amount for the lease.
The rent amount for the lease.
A list of tenants to be associated with the created or updated lease.
The email adddress of the tenant.
The first name of the tenant.
The last name of the tenant.
The external reference of the tenant.
This is typically an identifier you may use for person records in your own system.
The phone number of the tenant.
Response
Errors
Listed below are common errors that may be returned by the endpoint, along with their corresponding status code.
Status Code - 400
Missing Authorization header
Status Code - 401
Expired Authorization header bearer token value
Status Code - 401
Invalid Authorization header bearer token value
Status Code - 400
Returned if neither a unit id or a unit external reference is passed in the request body
No unit specified for the lease
Status Code - 400
Returned if a unit with the specified unit id or unit external reference could not be retrieved
Unit to use for lease not found