MealMe · Schema

Cart

Cart schema from MealMe Food Ordering API

DeliveryFoodGroceryOrderingRestaurants

Properties

Name Type Description
cart_id string
store_id string
subtotal integer Subtotal in cents.
items array
View JSON Schema on GitHub

JSON Schema

mealme-api-cart-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-cart-schema.json",
  "title": "Cart",
  "description": "Cart schema from MealMe Food Ordering API",
  "type": "object",
  "properties": {
    "cart_id": {
      "type": "string",
      "example": "kQ8vZEd-UnW_gZu6c4iO"
    },
    "store_id": {
      "type": "string",
      "example": "8c9f33d5-d138-4a49-9a4f-162f195c89b8"
    },
    "subtotal": {
      "type": "integer",
      "description": "Subtotal in cents.",
      "example": 1299
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CartItem"
      }
    }
  }
}