MealMe · JSON Structure

Mealme Api Cart Structure

Cart schema from MealMe Food Ordering API

Type: object Properties: 4
DeliveryFoodGroceryOrderingRestaurants

Cart is a JSON Structure definition published by MealMe, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

cart_id store_id subtotal items

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/mealme/refs/heads/main/json-structure/mealme-api-cart-structure.json",
  "name": "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": "int32",
      "description": "Subtotal in cents.",
      "example": 1299
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CartItem"
      }
    }
  }
}