Tenant Mutation
Create or Update in EverReal
Mutation Types
Mutations are responsible to insert or update a specific register, the operation insert or update is defined by externalId
, in case this tenant was imported previously, this mutation will updated the resource, otherwise will create the tenant. If you wish to update the externalId, pass EverReal UUID as id in the mutation payload along with the changed externalId
Here are details on the capabilities of different mutations
The
upsertTenant
mutation is used to create or update a tenant in Everreal system and tenant added to the system cannot be modified by Everreal and if needs to be modified it should be done via the same endpoint itself.The
deleteTenant
mutation is used to delete the tenant relation with the external integration source, doing this will not delete the tenant but instead it will remain as a detached tenant from integration and can be modified using Everreal.The
removeTenant
mutation is used to remove the tenant from the system, in order to perform removeTenant, please make sure that all the contracts assosiated with the tenant is been removed ( reference to delete contract)
Schema Definition
items with ! notation are required
Below we are providing a full example how to create or update a tenant, all this information is not required, only the ones that was using ! notation previously.
Last updated