Discount Object


Properties
idstringRead-only

Discount ID.


namestring

Discount name.


descriptionstring

Discount description.


activeboolean

Whether the discount is active. Defaults to true.


typestring

Discount type.


conditionCondition

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


ONE OF:

amountAmount

Discount amount.


percentagestringdecimalValue {"maxScale":3}

Discount percentage.


ONE OF:

sectionIdsSectionIds

IDs of the sections the discount applies to.


itemIdsItemIds

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

Did this help?