Saltar al contenido principal

UpdatePaymentRuleInput

Input for updatePaymentRule. Omitted fields are left unchanged.

input UpdatePaymentRuleInput {
id: ID!
conditions: AWSJSON
action: PaymentRuleActionInput
name: String
priority: Int
enabled: Boolean
}

Fields

UpdatePaymentRuleInput.id ● ID! non-null scalar

ID of the rule to update.

UpdatePaymentRuleInput.conditions ● AWSJSON scalar

Replace the rule's conditions.

UpdatePaymentRuleInput.action ● PaymentRuleActionInput input

Replace the rule's action.

UpdatePaymentRuleInput.name ● String scalar

Replace the rule's name.

UpdatePaymentRuleInput.priority ● Int scalar

Replace the rule's evaluation order.

UpdatePaymentRuleInput.enabled ● Boolean scalar

Enable or disable the rule.

Member Of

updatePaymentRule mutation