Skip to main content

UpdatePaymentRuleInput

Input for updating a payment rule

input UpdatePaymentRuleInput {
id: ID!
ruleType: PaymentRuleType
conditions: PaymentConditionsInput
action: PaymentActionInput
}

Fields

UpdatePaymentRuleInput.id ● ID! non-null scalar

Rule ID to update

UpdatePaymentRuleInput.ruleType ● PaymentRuleType enum

Type of payment rule

UpdatePaymentRuleInput.conditions ● PaymentConditionsInput input

The conditions that must be met for this rule to apply

UpdatePaymentRuleInput.action ● PaymentActionInput input

The action to take when conditions are met

Member Of

updatePaymentRule mutation