Otter · JSON Structure

Public Api Eater Order History Response Structure

Response body containing the user's order history.

Type: object Properties: 2 Required: 1
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

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

Properties

orders nextPageToken

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-eater-order-history-response-structure.json",
  "name": "EaterOrderHistoryResponse",
  "description": "Response body containing the user's order history.",
  "type": "object",
  "properties": {
    "orders": {
      "type": "array",
      "description": "List of orders placed by the user. Each item contains details about a specific order.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-eater-order-schema.json"
      }
    },
    "nextPageToken": {
      "type": "string",
      "description": "Opaque token used to fetch the following page. If not set, no more orders are available.",
      "example": "H12MAF2fFaFFFa"
    }
  },
  "required": [
    "orders"
  ]
}