The maximum amount that the percentage discount value can be. If not set then there is no maximum. If set to e.g. 20 euro, and the percentage discount is 25%, and the order total is 100 euro, then the
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/marketing-percent-discount-details-schema.json",
"title": "PercentDiscountDetails",
"description": "Percent discount details",
"type": "object",
"properties": {
"PercentageDiscount": {
"format": "int32",
"description": "Percentage discount",
"type": "integer",
"example": 3
},
"MaxDiscountAmount": {
"format": "double",
"description": "The maximum amount that the percentage discount value can be.\r\nIf not set then there is no maximum.\r\nIf set to e.g. 20 euro, and the percentage discount is 25%, and the order total is 100 euro, then the discount will be 20 euro (not 25 euro).",
"type": "number",
"nullable": true,
"example": 12.5
}
}
}