Skip to main content

BusinessRuleCreateInput

Input data for creating a new business rule with basic configuration and metadata

input BusinessRuleCreateInput {
name: [LocalizedStringInput!]!
type: BusinessRuleType!
channelIds: [Int!]
}

Fields

BusinessRuleCreateInput.name ● [LocalizedStringInput!]! non-null input

Localized names for the business rule supporting multiple languages for international use

BusinessRuleCreateInput.type ● BusinessRuleType! non-null enum

Classification of the business rule determining its domain context and application scope

BusinessRuleCreateInput.channelIds ● [Int!] list scalar

Channel ids this rule applies to. Omit or pass an empty list to apply the rule to every channel in the tenant.

Member Of

businessRuleCreate mutation ● incentiveRuleCreate mutation