Properties
| Name | Type | Description |
|---|---|---|
| status | string | The updated order status. |
| cancelled_items | array | Items to cancel from the order. |
| substitutions | array | Item substitutions for the order. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/doordash/refs/heads/main/json-schema/doordash-order-update-schema.json",
"title": "OrderUpdate",
"description": "OrderUpdate schema 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"
}
}
}
}