---
title: "Order"
url: "https://kongair.terwilligar.com/apis/hot-diggity-dog/versions/7450374c-0e43-4067-b83d-ec33667f4a58/schemas/Order"
---

> Full API specification: https://kongair.terwilligar.com/apis/hot-diggity-dog/versions/7450374c-0e43-4067-b83d-ec33667f4a58.md

# Order

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Hot Dog Stand API
  version: 1.0.0
servers:
  - url: https://hotdog.example.com/api/v1
    description: Main server
components:
  schemas:
    OrderItem:
      type: object
      properties:
        item_name:
          type: string
          description: Name of the item
        quantity:
          type: integer
          description: Quantity of the item
        condiments:
          type: array
          items:
            type: string
          description: List of condiments for the item
      example:
        item_name: Hot Dog
        quantity: 1
        condiments:
          - mustard
          - ketchup
    Order:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the order
        items:
          type: array
          items:
            $ref: "#/components/schemas/OrderItem"
        status:
          type: string
          enum:
            - pending
            - confirmed
            - cancelled
            - completed
          description: Status of the order
        total_amount:
          type: number
          format: float
          description: Total amount of the order
      example:
        id: 5fa7b5a7-3a0a-4b8a-8b3a-4b8a5b5a7b5a
        items:
          - item_name: Hot Dog
            quantity: 2
            condiments:
              - mustard
              - relish
        status: pending
        total_amount: 10
```
