doordash · JSON Structure

Doordash Order Update Structure

OrderUpdate structure from DoorDash API

Type: object Properties: 3

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

Properties

status cancelled_items substitutions

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-update-structure.json",
  "name": "OrderUpdate",
  "description": "OrderUpdate structure from DoorDash API",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "The updated order status.",
      "enum": [
        "confirmed",
        "being_prepared",
        "ready_for_pickup",
        "cancelled"
      ],
      "example": "confirmed"
    },
    "cancelled_items": {
      "type": "array",
      "description": "Items to cancel from the order.",
      "items": {
        "$ref": "#/components/schemas/CancelledItem"
      }
    },
    "substitutions": {
      "type": "array",
      "description": "Item substitutions for the order.",
      "items": {
        "$ref": "#/components/schemas/Substitution"
      }
    }
  }
}