ApprovalRule
The ApprovalRule type in Bunny's GraphQL API and its fields.
| Name | Type | Description |
|---|---|---|
| active | Boolean | Rule will be applied when active |
| anyDiscount | Int | |
| anyDiscountEnabled | Boolean | |
| approver | Approver | First approver |
| approverId | ID | First approver id |
| approverIds | List (ID) | Approvers required when this rule triggers |
| approvers | List (Approver) | Approvers for this rule |
| billingPeriod | BillingPeriod | |
| billingPeriodEnabled | Boolean | |
| fromDate | ISO8601Date | First date the rule will apply |
| id | ID | Unique ID |
| isRampEnabled | Boolean | |
| name | String | Rule name |
| netPaymentDays | Int | |
| netPaymentDaysEnabled | Boolean | |
| overallQuoteDiscount | Int | |
| overallQuoteDiscountEnabled | Boolean | |
| plan | Plan | |
| planId | ID | |
| planIdEnabled | Boolean | |
| product | Product | |
| productId | ID | |
| productIdEnabled | Boolean | |
| requireUnanimousApproval | Boolean | Require all approvers to approve for this rule |
| toDate | ISO8601Date | Last date the rule will apply |
| totalQuoteAmount | Int | |
| totalQuoteAmountEnabled | Boolean | |
| warrenId | ID | Warren ID |