Lunchbox · JSON Structure

Core Order Structure

Order schema from Lunchbox Core API

Type: object Properties: 10
RestaurantOnline OrderingGuest EngagementCateringMenusOrdersLoyaltyEnterprise

Order is a JSON Structure definition published by Lunchbox, describing 10 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ordersid restaurant_id is_cancelable is_editable ordering_status comments_to_restaurant internal_notes tip_percentages customer charges

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/lunchbox/refs/heads/main/json-structure/core-order-structure.json",
  "name": "Order",
  "description": "Order schema from Lunchbox Core API",
  "type": "object",
  "properties": {
    "ordersid": {
      "type": "int32",
      "example": 1234
    },
    "restaurant_id": {
      "type": "int32",
      "example": 1234
    },
    "is_cancelable": {
      "type": "boolean",
      "example": true
    },
    "is_editable": {
      "type": "boolean",
      "example": true
    },
    "ordering_status": {
      "type": "string",
      "example": "string"
    },
    "comments_to_restaurant": {
      "type": "string",
      "example": "string"
    },
    "internal_notes": {
      "type": "string",
      "example": "string"
    },
    "tip_percentages": {
      "type": "array",
      "items": {
        "type": "double"
      },
      "example": []
    },
    "customer": {
      "$ref": "#/components/schemas/Customer"
    },
    "charges": {
      "$ref": "#/components/schemas/Charges"
    }
  }
}