approvalRuleCreate

Graphql fields and variables for the approvalRuleCreate mutation

Create an approval rule

Scope required: security:write

For a complete list of input attributes see the ApprovalRuleAttributes type

mutation approvalRuleCreate ($attributes: ApprovalRuleAttributes!) {
  approvalRuleCreate (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?