Grubhub · Schema

OrderItem

An individual item within an order.

Properties

Name Type Description
item_id string The unique identifier for the menu item.
name string The display name of the item.
quantity integer The quantity ordered.
price number The unit price of the item.
modifiers array Modifiers applied to this item.
special_instructions string Item-level special instructions.
View JSON Schema on GitHub

JSON Schema

grubhub-orderitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderItem",
  "title": "OrderItem",
  "type": "object",
  "description": "An individual item within an order.",
  "properties": {
    "item_id": {
      "type": "string",
      "description": "The unique identifier for the menu item."
    },
    "name": {
      "type": "string",
      "description": "The display name of the item."
    },
    "quantity": {
      "type": "integer",
      "description": "The quantity ordered.",
      "minimum": 1
    },
    "price": {
      "type": "number",
      "format": "double",
      "description": "The unit price of the item."
    },
    "modifiers": {
      "type": "array",
      "description": "Modifiers applied to this item.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the modifier."
          },
          "price": {
            "type": "number",
            "format": "double",
            "description": "The additional price for this modifier."
          }
        }
      }
    },
    "special_instructions": {
      "type": "string",
      "description": "Item-level special instructions."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/grubhub-orderitem"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.