mutation approvalRuleUpdate ($id: ID!, $attributes: ApprovalRuleAttributes!) {
approvalRuleUpdate (id: $id, attributes: $attributes) {
approvalRule {
active
anyDiscount
anyDiscountEnabled
approverId
billingPeriodEnabled
fromDate
id
isRampEnabled
name
overallQuoteDiscount
overallQuoteDiscountEnabled
planId
planIdEnabled
productId
productIdEnabled
toDate
totalQuoteAmount
totalQuoteAmountEnabled
}
errors
}
}
{
"id": "456123",
"attributes": {
"name": "",
"active": true,
"fromDate": "2022-06-01",
"toDate": "2022-06-01",
"approverId": "456123",
"totalQuoteAmount": 123,
"totalQuoteAmountEnabled": true,
"overallQuoteDiscount": 123,
"overallQuoteDiscountEnabled": true,
"anyDiscountEnabled": true,
"anyDiscount": 123,
"productIdEnabled": true,
"productId": "456123",
"planIdEnabled": true,
"planId": "456123",
"billingPeriodEnabled": true,
"billingPeriod": "BillingPeriod",
"isRampEnabled": true
}
}