approvalRuleUpdate

Graphql fields and variables for the approvalRuleUpdate mutation

Update an approval rule

Scope required: security:write

For a complete list of input attributes see the ApprovalRuleAttributes type

mutation approvalRuleUpdate ($id: ID!, $attributes: ApprovalRuleAttributes!) {
  approvalRuleUpdate (id: $id, attributes: $attributes) {
      approvalRule {
        active
        anyDiscount
        anyDiscountEnabled
        approverId
        billingPeriodEnabled
        fromDate
        id
        isRampEnabled
        name
        netPaymentDays
        netPaymentDaysEnabled
        overallQuoteDiscount
        overallQuoteDiscountEnabled
        planId
        planIdEnabled
        productId
        productIdEnabled
        toDate
        totalQuoteAmount
        totalQuoteAmountEnabled
      }
      errors
  }
}

Arguments

Name
Type
Description

Response

Name
Type
Description

approvalRule

errors

List (String)

Last updated

Was this helpful?