doordash · Schema

OrderItem

OrderItem schema from DoorDash API

Properties

Name Type Description
id string The unique item identifier within the order.
name string The name of the item.
quantity integer The quantity ordered.
price integer The item price in cents.
special_instructions string Special instructions for this item.
options array Selected options for the item.
View JSON Schema on GitHub

JSON Schema

doordash-order-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/doordash/refs/heads/main/json-schema/doordash-order-item-schema.json",
  "title": "OrderItem",
  "description": "OrderItem schema from DoorDash API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique item identifier within the order.",
      "example": "D-12345"
    },
    "name": {
      "type": "string",
      "description": "The name of the item.",
      "example": "Acme Pickup Store"
    },
    "quantity": {
      "type": "integer",
      "description": "The quantity ordered.",
      "minimum": 1,
      "example": 1
    },
    "price": {
      "type": "integer",
      "description": "The item price in cents.",
      "example": 42
    },
    "special_instructions": {
      "type": "string",
      "description": "Special instructions for this item.",
      "example": "Leave at the front desk."
    },
    "options": {
      "type": "array",
      "description": "Selected options for the item.",
      "items": {
        "$ref": "#/components/schemas/OrderItemOption"
      }
    }
  }
}