doordash · JSON Structure

Doordash Order Item Structure

OrderItem structure from DoorDash API

Type: object Properties: 6

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

Properties

id name quantity price special_instructions options

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/doordash/refs/heads/main/json-structure/doordash-order-item-structure.json",
  "name": "OrderItem",
  "description": "OrderItem structure 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": "int32",
      "description": "The quantity ordered.",
      "minimum": 1,
      "example": 1
    },
    "price": {
      "type": "int32",
      "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"
      }
    }
  }
}