frontend
    Preparing search index...

    Interface Order

    Represents a customer order.

    interface Order {
        createdAt: string;
        customerId: string;
        id: string;
        items: OrderItem[];
        restaurantId: string;
        status: "pending" | "preparing" | "ready" | "delivered" | "cancelled";
        totalAmount: number;
        updatedAt: string;
    }
    Index

    Properties

    createdAt: string

    ISO timestamp when the order was created

    customerId: string

    ID of the customer who placed the order

    id: string

    Unique order ID

    items: OrderItem[]

    List of ordered items

    restaurantId: string

    ID of the restaurant fulfilling the order

    status: "pending" | "preparing" | "ready" | "delivered" | "cancelled"

    Current order status

    totalAmount: number

    Total monetary value of the order

    updatedAt: string

    ISO timestamp when the order was last updated