Skip to main content

BusinessRuleUpdateInput

Input data for updating an existing business rule's basic configuration and metadata

input BusinessRuleUpdateInput {
name: [LocalizedStringInput!]!
channelIds: [Int!]
active: Boolean
validFrom: DateTime
validUntil: DateTime
description: [LocalizedStringInput!]
}

Fields​

BusinessRuleUpdateInput.name ● [LocalizedStringInput!]! non-null input​

Updated localized names for the business rule in multiple languages

BusinessRuleUpdateInput.channelIds ● [Int!] list scalar​

Channel ids this rule applies to. Omit to leave the current channel scope unchanged, or pass an empty list to apply the rule to every channel in the tenant.

BusinessRuleUpdateInput.active ● Boolean scalar​

Whether the rule is applied. An inactive rule stays stored and editable but is skipped when rules are executed. Omit to leave it unchanged; null is rejected.

BusinessRuleUpdateInput.validFrom ● DateTime scalar​

Start of the period in which the rule is applied, inclusive, as a UTC instant. Must not be later than validUntil. Omit to leave it unchanged, or pass null to remove the start. When only one bound is sent it is checked against the stored other bound.

BusinessRuleUpdateInput.validUntil ● DateTime scalar​

End of the period in which the rule is applied, inclusive, as a UTC instant. Must not be earlier than validFrom. Omit to leave it unchanged, or pass null to remove the end. When only one bound is sent it is checked against the stored other bound.

BusinessRuleUpdateInput.description ● [LocalizedStringInput!] list input​

Localized description of the business rule, one entry per language, at most 50 entries of at most 2000 characters. Omit to leave it unchanged, or pass null or an empty list to remove it.

Member Of​

businessRuleUpdate mutation