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
{
"id": "456123",
"attributes": {
"name": "",
"active": true,
"fromDate": "2022-06-01",
"toDate": "2022-06-01",
"approverId": "456123",
"totalQuoteAmount": 123,
"totalQuoteAmountEnabled": true,
"netPaymentDays": 123,
"netPaymentDaysEnabled": true,
"overallQuoteDiscount": 123,
"overallQuoteDiscountEnabled": true,
"anyDiscountEnabled": true,
"anyDiscount": 123,
"productIdEnabled": true,
"productId": "456123",
"planIdEnabled": true,
"planId": "456123",
"billingPeriodEnabled": true,
"billingPeriod": "BillingPeriod",
"isRampEnabled": true
}
}
Name
Type
Description
id
ID
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?