EntityTypes
The kinds of thing a tenant masters โ customer, organisation, place โ and their configuration.
Create an entity type
Defines a kind of thing you master โ a customer, a supplier, a product. The type is the container its attributes, match profile and relationships hang off, so it is the first thing to create when modelling a new domain. Requires `entity-type.create`.
List entity types
Returns the tenant's entity types with their attribute counts. Requires `entity-type.read`.
Get an entity type
Returns one entity type and how it is configured. Requires `entity-type.read`.
Update an entity type
Changes a type's display settings, including which attributes form a record's label. Changing the label template re-derives the labels of existing records in the background. Requires `entity-type.update`.
Delete an entity type
Soft-deletes an entity type. It stops accepting new records and can be restored. An entity type that still has records cannot be deleted; remove or move them first. Requires `entity-type.delete`.
Restore a deleted entity type
Reinstates a soft-deleted entity type with its attributes and relationships intact. Requires `entity-type.update`.