A rule defines the fee that is applied when specific conditions (also defined by the rule) are met. You can use a rule to apply a service fee to a restaurant order.
Defines the app that the rule is connected to.
Single condition that must be met for the rule to be applied to an order.
Binary tree of conditions. Use the operator to indicate whether only one or both conditions must be met in order for a service fee rule to be applied to an order.
Specifies the type of condition.
Specifies the type of condition.
Single condition that must be met for the rule to be applied to an order.
Binary tree of conditions. Use the operator to indicate whether only one or both conditions must be met in order for a service fee rule to be applied to an order.
Date and time the rule was created.
Whether the rule is enabled. If true, the rule is evaluated when service fees are calculated. If false, the rule will not be evaluated when service fees are calculated.
Data Extensions
Rule ID.
DEPRECATED. Defines the app that the rule is connected to.
Rule name.
Fixed fee. Must hold a positive value.
Percentage fee. For example, 5 represents a 5% fee applied to the order's total.
Revision number. Increments by 1 each time the rule is updated.
To prevent conflicting changes, the existing revision must be used when updating a rule.
Rounding strategy to apply to fee and tax calculation.
Percentage value to apply as a custom tax rate. Range: [0-100].
Tax group ID. Internal only.
Percentage value to apply as a custom tax rate. For example, 5 represents a 5% fee applied to the order's total.
Min: '0'.
Max: 100.
Date and time the rule was updated.
Fixed fee. Must hold a positive value.
Percentage fee. For example, 5 represents a 5% fee applied to the order's total.