Discount Object


Deprecated

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.

Properties
activeboolean

Whether the discount is active. Defaults to true.


One Of

itemIdsItemIds

IDs of the items the discount applies to. Note: The items must be of type dish.


sectionIdsSectionIds

IDs of the sections the discount applies to.


conditionDiscountCondition

Discount condition. All conditions must be met so that a customer can apply the discount.


descriptionstring

Discount description.


idstringRead-only

Discount ID.


namestring

Discount name.


typestring

Discount type.


One Of

amountMoney

Discount amount.


percentagestringdecimalValue {"maxScale":3}

Discount percentage.

Did this help?