Properties
| Name | Type | Description |
|---|---|---|
| original_item_id | string | The ID of the original item to substitute. |
| substitute_item_id | string | The ID of the substitute item. |
| substitute_item_name | string | The name of the substitute item. |
| substitute_item_price | integer | The price of the substitute item in cents. |
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-substitution-schema.json",
"title": "Substitution",
"description": "Substitution schema from DoorDash API",
"type": "object",
"properties": {
"original_item_id": {
"type": "string",
"description": "The ID of the original item to substitute.",
"example": "D-12345"
},
"substitute_item_id": {
"type": "string",
"description": "The ID of the substitute item.",
"example": "D-12345"
},
"substitute_item_name": {
"type": "string",
"description": "The name of the substitute item.",
"example": "Acme Pickup Store"
},
"substitute_item_price": {
"type": "integer",
"description": "The price of the substitute item in cents.",
"example": 42
}
}
}