Skip to main content

TenantCreateInput

Input for creating a new tenant with its default channel. Tenants represent top-level organizational units with their own settings and channels.

input TenantCreateInput {
id: String!
name: String!
descriptions: [LocalizedStringInput!]
channel: ChannelCreateInput!
restrictSalesPricingVisibility: RESTRICT_SALES_PRICING_VISIBILITY!
allowQuoteInvalidation: ALLOW_QUOTE_INVALIDATION!
quoteDefaultExpiryPeriodDays: Int
defaultAppLanguage: String!
defaultDataLanguage: String
}

Fields

TenantCreateInput.id ● String! non-null scalar

Unique identifier for the tenant. Must be unique across the entire system and will be used for tenant resolution.

TenantCreateInput.name ● String! non-null scalar

Display name for the tenant. Must be at least 1 character long and will be shown in user interfaces.

TenantCreateInput.descriptions ● [LocalizedStringInput!] list input

Localized descriptions for the tenant in different languages. Each entry must have a unique language code to avoid duplicates.

TenantCreateInput.channel ● ChannelCreateInput! non-null input

Configuration for the tenant's default channel. Every tenant must have at least one channel created during tenant setup.

TenantCreateInput.restrictSalesPricingVisibility ● RESTRICT_SALES_PRICING_VISIBILITY! non-null enum

[SETTING] Controls whether sales pricing information is restricted within this tenant. Affects visibility of detailed pricing data to users.

TenantCreateInput.allowQuoteInvalidation ● ALLOW_QUOTE_INVALIDATION! non-null enum

[SETTING] Controls whether quotes can be invalidated within this tenant.

TenantCreateInput.quoteDefaultExpiryPeriodDays ● Int scalar

[SETTING] Default number of days before quotes expire within this tenant. Used as the default expiry period when creating new quotes if not specified otherwise.

TenantCreateInput.defaultAppLanguage ● String! non-null scalar

[SETTING] Default application UI language for this tenant as a 2-character code (e.g. EN, NL). Used when no user-specific language preference is available.

TenantCreateInput.defaultDataLanguage ● String scalar

[SETTING] Default data language for this tenant as a 2-character code (e.g. EN, NL). Applied to localized data fields when no explicit language is requested.

Member Of

tenantCreate mutation