# UpdatePaymentRuleInput

Input for `updatePaymentRule`. Omitted fields are left unchanged.

```
input UpdatePaymentRuleInput {

  id: ID!

  ruleType: PaymentRuleType

  conditions: PaymentConditionsInput

  action: PaymentActionInput

}
```

### Fields[​](#fields "Enlace directo al Fields")

#### [`UpdatePaymentRuleInput.id`](#id) ● [`ID!`](https://docs.monei.com/es/es/apis/graphql/types/scalars/id/.md) non-null scalar[​](#id "Enlace directo al id")

ID of the rule to update.

#### [`UpdatePaymentRuleInput.ruleType`](#rule-type) ● [`PaymentRuleType`](https://docs.monei.com/es/es/apis/graphql/types/enums/payment-rule-type/.md) enum[​](#rule-type "Enlace directo al rule-type")

Replace the rule type.

#### [`UpdatePaymentRuleInput.conditions`](#conditions) ● [`PaymentConditionsInput`](https://docs.monei.com/es/es/apis/graphql/types/inputs/payment-conditions-input/.md) input[​](#conditions "Enlace directo al conditions")

Replace the conditions.

#### [`UpdatePaymentRuleInput.action`](#action) ● [`PaymentActionInput`](https://docs.monei.com/es/es/apis/graphql/types/inputs/payment-action-input/.md) input[​](#action "Enlace directo al action")

Replace the action.

### Member Of[​](#member-of "Enlace directo al Member Of")

[`updatePaymentRule`](https://docs.monei.com/es/es/apis/graphql/operations/mutations/update-payment-rule/.md) mutation
