doordash · JSON Structure

Doordash Substitution Structure

Substitution structure from DoorDash API

Type: object Properties: 4

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.

Properties

original_item_id substitute_item_id substitute_item_name substitute_item_price

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-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
    }
  }
}