Otter · Schema

ComputeApplicableRewardsResponse

Response body for ComputeApplicableRewards API call.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
rewards array List of rewards the user can redeem, depending on the reward type, only one of subtotal/menus will be present.
View JSON Schema on GitHub

JSON Schema

public-api-compute-applicable-rewards-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ComputeApplicableRewardsResponse",
  "description": "Response body for ComputeApplicableRewards API call.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-compute-applicable-rewards-response-schema.json",
  "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"
      }
    }
  }
}