Lunchbox · JSON Structure

Core Add Items Request Structure

AddItemsRequest schema from Lunchbox Core API

Type: object Properties: 2 Required: 2
RestaurantOnline OrderingGuest EngagementCateringMenusOrdersLoyaltyEnterprise

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

Properties

customer_id items

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-add-items-request-structure.json",
  "name": "AddItemsRequest",
  "description": "AddItemsRequest schema from Lunchbox Core API",
  "type": "object",
  "properties": {
    "customer_id": {
      "type": "int32",
      "example": 1234
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OrderItem"
      },
      "example": []
    }
  },
  "required": [
    "customer_id",
    "items"
  ]
}