Skip to main content

updateConditionTypeWithRules

Update a condition type's scalar fields and rewrite its rule set. Removing a rule cascades: orphaned rule references are stripped from condition-type associations and any left empty are soft-deleted.

updateConditionTypeWithRules(
input: UpdateConditionTypeWithRulesInput!
): UpdateConditionTypeWithRulesPayload

Arguments​

updateConditionTypeWithRules.input ● UpdateConditionTypeWithRulesInput! non-null input​

The condition type and the fields and rules to apply.

Type​

UpdateConditionTypeWithRulesPayload object​

Result of updating a condition type and its rules.