Otter · JSON Structure

Public Api Compute Applicable Rewards Response Structure

Response body for ComputeApplicableRewards API call.

Type: object Properties: 1
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

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

Properties

rewards

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-compute-applicable-rewards-response-structure.json",
  "name": "ComputeApplicableRewardsResponse",
  "description": "Response body for ComputeApplicableRewards API call.",
  "type": "object",
  "properties": {
    "rewards": {
      "type": "array",
      "description": "List of rewards the user can redeem, depending on the reward type, only one of subtotal/menus will be present.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-reward-schema.json"
      }
    }
  }
}