Aloha POS · JSON Structure

Ncr Voyix Platform Order Structure

An order (check) created through the NCR Voyix Order API.

Type: object Properties: 5 Required: 1
POSRestaurantHospitalityNCR

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

Properties

id channel comments customer orderLines

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/aloha-pos/refs/heads/main/json-structure/ncr-voyix-platform-order-structure.json",
  "name": "Order",
  "description": "An order (check) created through the NCR Voyix Order API.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The order identifier."
    },
    "channel": {
      "type": "string",
      "description": "Origination channel of the order."
    },
    "comments": {
      "type": "string",
      "description": "Free-text comments on the order."
    },
    "customer": {
      "type": "object",
      "description": "The customer placing the order.",
      "properties": {
        "email": {
          "type": "string"
        },
        "firstName": {
          "type": "string"
        },
        "lastName": {
          "type": "string"
        }
      }
    },
    "orderLines": {
      "type": "array",
      "description": "The line items on the order.",
      "items": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          },
          "quantity": {
            "type": "object",
            "properties": {
              "unitOfMeasure": {
                "type": "string"
              },
              "unitOfMeasureLabel": {
                "type": "string"
              },
              "value": {
                "type": "double"
              }
            }
          },
          "unitPrice": {
            "type": "double"
          }
        }
      }
    }
  },
  "required": [
    "orderLines"
  ]
}