MealMe · Schema

Order

Order schema from MealMe Food Ordering API

DeliveryFoodGroceryOrderingRestaurants

Properties

Name Type Description
order_id string
cart_id string
status string
total integer Total in cents.
View JSON Schema on GitHub

JSON Schema

mealme-api-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mealme/refs/heads/main/json-schema/mealme-api-order-schema.json",
  "title": "Order",
  "description": "Order schema from MealMe Food Ordering API",
  "type": "object",
  "properties": {
    "order_id": {
      "type": "string",
      "example": "ord_8f2a1c9b"
    },
    "cart_id": {
      "type": "string",
      "example": "kQ8vZEd-UnW_gZu6c4iO"
    },
    "status": {
      "type": "string",
      "enum": [
        "unplaced",
        "awaiting_confirmation",
        "in_progress",
        "canceled",
        "completed"
      ],
      "example": "unplaced"
    },
    "total": {
      "type": "integer",
      "description": "Total in cents.",
      "example": 1299
    }
  }
}