21 lines
416 B
Markdown
21 lines
416 B
Markdown
# 06 Orders
|
|
|
|
Order flow for POS:
|
|
|
|
- Receive order event
|
|
- Fetch full order payload
|
|
- Accept/deny
|
|
- Resolve fulfillment issues when item(s) cannot be fulfilled
|
|
- Ready/handoff updates
|
|
- Completion/cancellation reconciliation
|
|
|
|
Typed routes:
|
|
|
|
- `GET /api/v1/uber/orders/{orderId}` (order details)
|
|
- `POST /api/v1/uber/orders/{orderId}/action` with action:
|
|
- `accept`
|
|
- `deny`
|
|
- `ready`
|
|
- `cancel`
|
|
- `resolve`
|