doordash · Schema

ItemOption

ItemOption schema from DoorDash API

Properties

Name Type Description
id string The option identifier.
name string The option name.
quantity integer The quantity of this option.
price integer The option price in cents.
View JSON Schema on GitHub

JSON Schema

doordash-item-option-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/doordash/refs/heads/main/json-schema/doordash-item-option-schema.json",
  "title": "ItemOption",
  "description": "ItemOption schema 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": "integer",
      "description": "The quantity of this option.",
      "example": 42
    },
    "price": {
      "type": "integer",
      "description": "The option price in cents.",
      "example": 42
    }
  }
}