Flipdish · JSON Structure

Marketing Percent Discount Details Structure

Percent discount details

Type: object Properties: 2
RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

PercentDiscountDetails is a JSON Structure definition published by Flipdish, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PercentageDiscount MaxDiscountAmount

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-structure/marketing-percent-discount-details-structure.json",
  "name": "PercentDiscountDetails",
  "description": "Percent discount details",
  "type": "object",
  "properties": {
    "PercentageDiscount": {
      "description": "Percentage discount",
      "type": "int32",
      "example": 3
    },
    "MaxDiscountAmount": {
      "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": "double",
      "nullable": true,
      "example": 12.5
    }
  }
}