Paytronix · Schema

OrderItem

OrderItem schema from Paytronix Online Ordering API

RestaurantLoyaltyGift CardsOnline OrderingGuest EngagementPaymentsMessaging

Properties

Name Type Description
menuItemId string
name string
quantity integer
price number
options array
View JSON Schema on GitHub

JSON Schema

online-ordering-api-order-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OrderItem",
  "description": "OrderItem schema from Paytronix Online Ordering API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/paytronix/refs/heads/main/json-schema/online-ordering-api-order-item-schema.json",
  "type": "object",
  "properties": {
    "menuItemId": {
      "type": "string",
      "example": "4b96f1bafc9f100ca79231ef"
    },
    "name": {
      "type": "string",
      "example": "Chicken Burrito"
    },
    "quantity": {
      "type": "integer",
      "example": 2
    },
    "price": {
      "type": "number",
      "example": 9.5
    },
    "options": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "price": {
            "type": "number"
          }
        }
      }
    }
  }
}