Otter · Schema

PromotionDetails

Order promotion details.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
externalId string External promotion identifier.
name string Promotion name.
value number Promotion value.
View JSON Schema on GitHub

JSON Schema

public-api-promotion-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "PromotionDetails",
  "description": "Order promotion details.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-promotion-details-schema.json",
  "type": "object",
  "properties": {
    "externalId": {
      "type": "string",
      "description": "External promotion identifier.",
      "example": "store_123"
    },
    "name": {
      "type": "string",
      "description": "Promotion name.",
      "example": "20% off, up to $5"
    },
    "value": {
      "type": "number",
      "description": "Promotion value.",
      "example": 2
    }
  }
}