Otter · JSON Structure

Public Api Item Price Override Structure

Price override for an item

Type: object Properties: 3 Required: 3
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

ItemPriceOverride is a JSON Structure definition published by Otter, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

rules currencyCode amount

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-item-price-override-structure.json",
  "name": "ItemPriceOverride",
  "description": "Price override for an item",
  "type": "object",
  "properties": {
    "rules": {
      "type": "array",
      "minItems": 1,
      "description": "Override rules for when this price override should be applied.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-override-rule-schema.json"
      }
    },
    "currencyCode": {
      "maxLength": 3,
      "minLength": 3,
      "type": "string",
      "description": "The 3-letter currency code (ISO 4217) to use for all monetary values.",
      "example": "EUR"
    },
    "amount": {
      "type": "double",
      "description": "Amount the Item costs",
      "example": 25.21
    }
  },
  "required": [
    "amount",
    "currencyCode",
    "rules"
  ]
}