doordash · Schema

PromotionsResponse

PromotionsResponse schema from DoorDash API

Properties

Name Type Description
status string The processing status of the request.
promotions_processed integer The number of promotions processed.
errors array Any errors encountered during processing.
View JSON Schema on GitHub

JSON Schema

doordash-promotions-response-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-promotions-response-schema.json",
  "title": "PromotionsResponse",
  "description": "PromotionsResponse schema from DoorDash API",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "The processing status of the request.",
      "example": "active"
    },
    "promotions_processed": {
      "type": "integer",
      "description": "The number of promotions processed.",
      "example": 42
    },
    "errors": {
      "type": "array",
      "description": "Any errors encountered during processing.",
      "items": {
        "$ref": "#/components/schemas/ItemError"
      }
    }
  }
}