1.1 KiB
1.1 KiB
20 Marketplace Reporting API 1.0.0 Audit
Source checked: Uber Eats "Marketplace Reporting API (1.0.0)" section shared by you.
Implemented Now
- Added official create-report wrapper route:
POST /api/v1/uber/reporting/create- upstream
POST /v1/eats/report - returns
workflow_id
- Added request validation:
report_typeenum validation (10 report types)- requires at least one
store_uuidsorgroup_uuids - validates date format by report type
- validates
start_date <= end_date - validates range/lookback constraints from the docs
- Added report job persistence (
report_jobs):- workflow tracking + report type + request windows + status
- Added webhook completion handling:
eats.report.successmarks job completed byjob_id- persists report sections metadata for downstream download workers
- Existing CSV fetch route retained:
POST /api/v1/uber/reporting/fetchfor direct CSV pulls where applicable
Pending
- Worker queue for downloading and processing each
report_metadata.sections[]URL. - Retry orchestration for section URL fetches and long-running reconciliation pipelines.