Create a booking with automatic voucher delivery
/recommend results/inventory listings/recommend or /inventory response2025-12-15)log_id from /recommend response for conversion tracking and feedback loopcontext_log_id?When a user visits the venue and scans their QR code, we connect:webhook_url, you’ll receive callbacks for:
| Event | Description |
|---|---|
booking_confirmed | Booking successfully created |
voucher_delivered | Email sent to user |
qr_verified | User visited venue (Ground Truth) |
booking_cancelled | Booking was cancelled |
| Code | Description |
|---|---|
ACTIVITY_NOT_FOUND | Activity ID doesn’t exist |
ACTIVITY_UNAVAILABLE | Activity not available on requested date |
INVALID_DATE | Booking date is in the past or too far ahead |
INVENTORY_EXHAUSTED | No more slots available |
INVALID_EMAIL | Email format is invalid |
BOOKING_LIMIT_EXCEEDED | Maximum guests per booking exceeded |
Always pass context_log_id
Handle webhook callbacks
Validate dates client-side
Confirm with user before booking