55 lines
1.7 KiB
Markdown
55 lines
1.7 KiB
Markdown
# 00 Marketplace Overview Audit
|
|
|
|
Source checked: Uber Eats Marketplace APIs Overview section shared by you.
|
|
|
|
## Status Matrix (Doc vs Current Code)
|
|
|
|
- Integration Configuration:
|
|
Implemented partly. Merchant and OAuth connection setup exists.
|
|
Files: `src/modules/connections`, `src/modules/auth`.
|
|
Pending: typed onboarding endpoints from official Integration Configuration docs.
|
|
|
|
- Menu:
|
|
Implemented partly.
|
|
Implemented: menu upsert/get wrappers.
|
|
Files: `src/modules/proxy/proxy.service.js`, `src/routes/proxy.routes.js`.
|
|
Pending: full endpoint set from official Menu docs.
|
|
|
|
- Store:
|
|
Implemented partly.
|
|
Implemented: update store hours shortcut.
|
|
Pending: full store details/status/holiday hours typed routes.
|
|
|
|
- Order:
|
|
Implemented partly.
|
|
Implemented: list orders and order actions (accept/deny/ready/cancel).
|
|
Pending: all order lifecycle endpoints from official Order docs, including detailed states and BYOC-specific flows.
|
|
|
|
- Promotions:
|
|
Not implemented as typed APIs yet.
|
|
Temporary coverage: generic passthrough endpoint.
|
|
|
|
- Reporting:
|
|
Not implemented as typed APIs yet.
|
|
Temporary coverage: generic passthrough endpoint.
|
|
|
|
- Webhooks:
|
|
Implemented basic ingestion and persistence.
|
|
Pending: signature verification, idempotency key enforcement, async processing pipeline.
|
|
|
|
## Production Requirement Alignment
|
|
|
|
- 99% injection success tracking:
|
|
Implemented initial metric endpoint:
|
|
`GET /api/v1/metrics/injection-success`
|
|
based on logged responses for `accept_pos_order`.
|
|
|
|
## Important Current Constraint
|
|
|
|
Until endpoint-specific docs are provided, the wrapper supports full coverage through:
|
|
|
|
- `POST /api/v1/uber/request`
|
|
|
|
Typed endpoint expansion will continue section-by-section as you send official docs.
|
|
|