Booking Example By Time
Example booking response for products using ‘By Time Based’ pricing model (e.g., hourly rentals, time-based services)
Pricing Model: By Time Based
Response Structure
{ "_comment": "Example booking response for products using 'By Time Based' pricing model (e.g., hourly rentals, time-based services)", "_pricing_model": "By Time Based", "_key_format": "Always 'Time' as the key", "_value_format": "[duration_string, [{name: '...'}]] - nested array with duration as first element", "info": { "date": "2025-04-20", "time": "10:00 am", "pickup_time": "9:45 am", "latestcancellation_date": "2025-04-17", "latestcancellation_time": "23:59:00", "percent_norefund": null, "language": "English" }, "meta": { "status": "Confirmed", "product_id": "PE45678", "booking_ref": "PE9876543", "product_type": "Activity", "voucher_html": "https://projectexpedition.com/account/voucher/PE9876543", "voucher_pdf": "https://projectexpedition.com/account/voucher/PE9876543?format=pdf" }, "operator": { "name": "Dublin Bike Tours", "phone": "+353 1 555 0123", "email": "bookings@dublinbiketours.com", "business_ref": "DBT-9876543", "notes": "Helmets provided. Meet at the bike shop entrance." }, "pax": { "number_travellers": "2", "notes": "", "travelers_names": [ "Alice Brown", "Bob Brown" ], "travelers_names_raw": { "Time": [ "2 Hours", [ { "name": "Alice Brown" }, { "name": "Bob Brown" } ] ] }, "travellers_names_html": "<b>2 Hours</b><br><p>1. Alice Brown</p><p>2. Bob Brown</p>", "add_ons_html": "", "add_ons_raw": [], "contact_email": "alice.brown@example.com", "contact_phone": "+1 555 987 6543" }, "pricing": { "payment_status": "Paid", "total": 80, "amount_paid": 80, "commission": 8, "currency": "EUR", "payments": [ { "date": "2025-03-01", "amount": 80, "currency": "EUR" } ] }, "partner": { "name": "Mike Wilson", "email": "mike@adventuretravel.com", "company": "Adventure Travel Co", "partner_ref": "ATC-2025-00123" }}