Substitution is a JSON Structure definition published by Doordash, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/doordash/refs/heads/main/json-structure/doordash-substitution-structure.json",
"name": "Substitution",
"description": "Substitution structure 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": "int32",
"description": "The price of the substitute item in cents.",
"example": 42
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.