doordash · JSON Structure

Doordash Item Option Structure

ItemOption structure from DoorDash API

Type: object Properties: 4

ItemOption 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

id name quantity 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-item-option-structure.json",
  "name": "ItemOption",
  "description": "ItemOption structure from DoorDash API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The option identifier.",
      "example": "D-12345"
    },
    "name": {
      "type": "string",
      "description": "The option name.",
      "example": "Acme Pickup Store"
    },
    "quantity": {
      "type": "int32",
      "description": "The quantity of this option.",
      "example": 42
    },
    "price": {
      "type": "int32",
      "description": "The option price in cents.",
      "example": 42
    }
  }
}