This object is deprecated and was replaced with Discount Rule Object.
Customers can use a discount to pay less. Can be an amount or a percentage. You can read more about discounts in the introduction.
Discount ID.
Discount name.
Discount description.
Whether the discount is active. Defaults to true.
Discount type.
Discount condition. All conditions must be met so that a customer can apply the discount.
Discount amount.
Discount percentage.
IDs of the sections the discount applies to.
IDs of the items the discount applies to. Note: The items must be of type dish.