Discount Object
Properties
ONE OF:
ONE OF:
idstringRead-only
Discount ID.
namestring
Discount name.
descriptionstring
Discount description.
activeboolean
Whether the discount is active. Defaults to true.
typestring
3 enum supported values:
UNSPECIFIED_TYPEOFF_ITEMOFF_ORDER
Discount type.
conditionobject
Discount condition. All conditions must be met so that a customer can apply the discount.
ONE OF:
amountobject
Discount amount.
percentagestringdecimalValue {"maxScale":3}
Discount percentage.
ONE OF:
sectionIdsobject
IDs of the sections the discount applies to.
itemIdsobject
IDs of the items the discount applies to. Note: The items must be of type dish.
Was this helpful?
Yes
No