UpdatePaymentRuleInput
Input for updatePaymentRule. Omitted fields are left unchanged. Set at least one field besides id.
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 (PaymentRule.id).
UpdatePaymentRuleInput.conditions ● AWSJSON scalar
Replace the rule's conditions. The limits of CreatePaymentRuleInput.conditions apply.
UpdatePaymentRuleInput.action ● PaymentRuleActionInput input
Replace the rule's action.
UpdatePaymentRuleInput.name ● String scalar
Replace the rule's name. null keeps the current name.
UpdatePaymentRuleInput.priority ● Int scalar
Replace the rule's evaluation order.
UpdatePaymentRuleInput.enabled ● Boolean scalar
Enable or disable the rule. Enabling fails when 20 rules of the account are already enabled.
Member Of
updatePaymentRule mutation
¿Te ha resultado útil esta página?