Skip to main content

UpdatePreferenceRuleInput

The input type for updating a PreferenceRule.

input UpdatePreferenceRuleInput {
tag: String!
context: String!
criteria: PreferenceRuleCriteriaInput!
value: PreferenceRuleValueInput!
}

Fields

UpdatePreferenceRuleInput.tag ● String! non-null scalar

It is used to identify the rule with a frendly name.

UpdatePreferenceRuleInput.context ● String! non-null scalar

Context where the rule will apply.

UpdatePreferenceRuleInput.criteria ● PreferenceRuleCriteriaInput! non-null input

It is used to define the conditions that the rule will be applied to.

UpdatePreferenceRuleInput.value ● PreferenceRuleValueInput! non-null input

It is used to define the codes that will be preference or whitelisted.