Using TypeScript? Check out our GraphQL SDK for a fully typed client.
- Tenant field schemas define what fields exist (type, label, options). You create the schema once.
- Tenant field values are the per-tenant values stored against a given schema.
tenant:edittenantFieldSchema:create/tenantFieldSchema:edit/tenantFieldSchema:delete(for schema operations)
Create or update tenant field schemas
upsertTenantFieldSchema accepts an array of schemas to create or update in one call. Each schema is identified by the combination of source and externalFieldId.
Supported field types are STRING_TYPE, NUMBER_TYPE, BOOLEAN_TYPE, STRING_ARRAY, DATETIME_TYPE and ENUM_TYPE (use options to define the allowed values).
Mutation
Variables
Delete a tenant field schema
Deleting a schema also removes any tenant field values stored against it.Mutation
Variables
Set a tenant field value
Once a schema exists, useupsertTenantField to set or update the value for a specific tenant. Pass exactly one of stringValue, numberValue, booleanValue, arrayValue or dateValue matching the schema’s type.
Mutation
Variables
Delete a tenant field value
To clear a tenant’s value for a specific field without removing the schema itself, calldeleteTenantField.
Mutation
Variables

