Skip to content

Booking Example By Occupancy

Example booking response for products using ‘By Occupancy’ pricing model (e.g., room-based tours, private charters)

Pricing Model: By Occupancy

Response Structure

{
"_comment": "Example booking response for products using 'By Occupancy' pricing model (e.g., room-based tours, private charters)",
"_pricing_model": "By Occupancy",
"_key_format": "Room type name (e.g., 'Standard', 'Deluxe', 'Suite')",
"_value_format": "[quantity, [{name: '...'}]] - nested array with count as first element",
"info": {
"date": "2026-01-26",
"time": "9:00 am",
"pickup_time": null,
"latestcancellation_date": "2026-01-23",
"latestcancellation_time": "09:00:00",
"percent_norefund": null,
"language": "English"
},
"meta": {
"status": "Pending Confirmation",
"product_id": "PRD52961",
"booking_ref": "PE154423808",
"product_type": "Tour",
"voucher_html": "https://projectexpedition.com/account/voucher/PE154423808",
"voucher_pdf": "https://projectexpedition.com/account/voucher/PE154423808?format=pdf"
},
"operator": {
"name": "True Spirit",
"phone": "+351 91 88 288 01",
"email": "madeira.truespirit@gmail.com",
"business_ref": null,
"notes": ""
},
"pax": {
"number_travellers": "1",
"notes": "",
"travelers_names": [
"John Lee"
],
"travelers_names_raw": {
"Standard": [
1,
[
{
"name": "John Lee"
}
]
]
},
"travellers_names_html": "<b>Standard</b><br><p>1. John Lee</p>",
"add_ons_html": null,
"add_ons_raw": null,
"contact_email": "guest@example.com",
"contact_phone": "+91-9876543211"
},
"pricing": {
"payment_status": "Pending Invoice",
"total": 525.98,
"amount_paid": 0,
"commission": 0,
"currency": "USD",
"payments": []
},
"partner": {
"name": "Travel Agency Name",
"email": "agent@travelagency.com",
"company": "Travel Agency Name",
"partner_ref": "AGENCY-REF-12345"
}
}