OrderConfirmation
Need an API key?
Get one from Crave Dashboard > Developers > API Development > Step 1 - API Keys. Copy the matching
locationId from Step 2 - Location IDs on the same page.Preview
Import
Usage
Props
Order
required
The placed order object with items, totals, status, and fulfillment details.
() => void
Optional callback to navigate to the order tracking view.
Behavior
- Displays order number with a checkmark success animation
- Shows estimated ready time or delivery ETA
- Lists ordered items with quantities and prices
- Real-time status updates via polling or WebSocket
- “Track your order” CTA for delivery orders
- “Order again” button to reorder the same items