Otter · JSON Structure

Public Api Subtotal Reward Structure

SubtotalReward schema from Public API (Otter Public API).

Type: object Properties: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

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

Properties

amount type

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/otter/refs/heads/main/json-structure/public-api-subtotal-reward-structure.json",
  "name": "SubtotalReward",
  "description": "SubtotalReward schema from Public API (Otter Public API).",
  "type": "object",
  "properties": {
    "amount": {
      "type": "double",
      "description": "Discount amount, if it's percentage discount, the percentage amount shown is in basis points, ie 1000 = 10% discount.",
      "example": 20
    },
    "type": {
      "type": "string",
      "description": "The type of discount, absolute or percentage.",
      "example": "ABSOLUTE_DISCOUNT",
      "enum": [
        "ABSOLUTE_DISCOUNT",
        "PERCENT_DISCOUNT"
      ]
    }
  }
}