Paytronix · JSON Structure

Online Ordering Api Order Item Structure

OrderItem schema from Paytronix Online Ordering API

Type: object Properties: 5
RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

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

Properties

menuItemId name quantity price options

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/paytronix/refs/heads/main/json-structure/online-ordering-api-order-item-structure.json",
  "name": "OrderItem",
  "description": "OrderItem schema from Paytronix Online Ordering API",
  "type": "object",
  "properties": {
    "menuItemId": {
      "type": "string",
      "example": "4b96f1bafc9f100ca79231ef"
    },
    "name": {
      "type": "string",
      "example": "Chicken Burrito"
    },
    "quantity": {
      "type": "int32",
      "example": 2
    },
    "price": {
      "type": "double",
      "example": 9.5
    },
    "options": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "price": {
            "type": "double"
          }
        }
      }
    }
  }
}