Manage Discount Rules.
Discount rule ID.
Revision number, which increments by 1 each time the discount rule is updated.
To prevent conflicting changes, the current revision
must be passed when updating the discount rule.
Date and time the discount rule was created.
Date and time the discount rule was last updated.
Whether the discount rule is active.
Default: true
Discount rule name.
Discount rule trigger.
A set of conditions that must be met for the discounts
to be applied.
Not passing a trigger will cause the discount to always apply.
Time frame in which the discount rule is active.
List of discounts that are applied when one or more triggers are met.
Notes:
Discount rule status.
Number of times the discount rule was used.