Otter · JSON Structure

Public Api Order Status History Structure

The Order Status Update History and extra data.

Type: object Properties: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

OrderStatusHistory 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

orderStatusHistory orderAcceptedInfo

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-order-status-history-structure.json",
  "name": "OrderStatusHistory",
  "description": "The Order Status Update History and extra data.",
  "type": "object",
  "properties": {
    "orderStatusHistory": {
      "type": "array",
      "description": "Array of OrderStatusEvent",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-order-status-event-schema.json"
      }
    },
    "orderAcceptedInfo": {
      "type": "object",
      "nullable": true,
      "description": "[NEW] Extra information added once the order was accepted by the restaurant. This field is nullable.",
      "properties": {
        "preparationTimeInMinutes": {
          "type": "int32",
          "description": "[NEW] The time in minutes the restaurant says it will take to prepare the order."
        }
      },
      "required": [
        "preparationTimeInMinutes"
      ]
    }
  }
}