doordash · Schema
DoorDash Report
Represents a reporting request and its result in the DoorDash Reporting API, including report type, date range, processing status, and download information.
Properties
| Name | Type | Description |
|---|---|---|
| report_id | string | The unique identifier for the report, assigned by DoorDash upon creation. |
| report_type | string | The type of report to generate or that was generated. |
| start_date | string | The start date for the report period in YYYY-MM-DD format. |
| end_date | string | The end date for the report period in YYYY-MM-DD format. |
| store_ids | array | Optional list of store IDs to filter the report by specific stores. |
| status | string | The current processing status of the report. |
| download_url | string | A temporary URL to download the completed report. Only present when status is SUCCEEDED. |
| created_at | string | When the report request was created. |
| completed_at | string | When the report generation completed. Only present when status is SUCCEEDED or FAILED. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://developer.doordash.com/schemas/doordash/report.json",
"title": "DoorDash Report",
"description": "Represents a reporting request and its result in the DoorDash Reporting API, including report type, date range, processing status, and download information.",
"type": "object",
"required": [
"report_type",
"start_date",
"end_date"
],
"properties": {
"report_id": {
"type": "string",
"description": "The unique identifier for the report, assigned by DoorDash upon creation."
},
"report_type": {
"type": "string",
"description": "The type of report to generate or that was generated.",
"enum": [
"financial",
"operations",
"menu",
"feedback"
]
},
"start_date": {
"type": "string",
"format": "date",
"description": "The start date for the report period in YYYY-MM-DD format."
},
"end_date": {
"type": "string",
"format": "date",
"description": "The end date for the report period in YYYY-MM-DD format."
},
"store_ids": {
"type": "array",
"description": "Optional list of store IDs to filter the report by specific stores.",
"items": {
"type": "string"
}
},
"status": {
"type": "string",
"description": "The current processing status of the report.",
"enum": [
"PENDING",
"PROCESSING",
"SUCCEEDED",
"FAILED"
]
},
"download_url": {
"type": "string",
"format": "uri",
"description": "A temporary URL to download the completed report. Only present when status is SUCCEEDED."
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "When the report request was created."
},
"completed_at": {
"type": "string",
"format": "date-time",
"description": "When the report generation completed. Only present when status is SUCCEEDED or FAILED."
}
}
}