Lease
Create/Update Leases And Tenants
This endpoint creates or updates a lease and tenant records for it.
POST
You must specify either a
Status Code - 401
Status Code - 401
Status Code - 400
Returned if neither a unit id or a unit external reference is passed in the request body
Status Code - 400
Returned if a unit with the specified unit id or unit external reference could not be retrieved
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.
Header
The authentication token for your request
Body
The parameters for the lease to update or create.
A list of tenants to be associated with the created or updated lease.
Response
Errors
Listed below are common errors that may be returned by the endpoint, along with their corresponding status code. Status Code - 400Missing Authorization header
Expired Authorization header bearer token value
Invalid Authorization header bearer token value
No unit specified for the lease
Unit to use for lease not found

