Skip to content

Package Tour Bookings

Package tours use booking_type: PACKAGE and have specific fields for commission and direct payment flows.


Create Package Tour Booking

http
POST /api/v1/bookings

Request Body:

FieldTypeRequiredNotes
booking_referencestring✅ Yes1–50 chars
booking_typestring✅ YesMust be PACKAGE
booking_datestring✅ YesYYYY-MM-DD
total_amountnumber✅ Yes>= 0
total_paidnumberNoUse 0 unless paid_directly_to_supplier
service_feenumberNoForced to 0
commissionnumberNoAgency commission amount
paid_directly_to_supplierbooleanNoMarks total fare as paid to supplier
paid_directly_to_agencybooleanNoIndicates manual payment entry is needed
client_idstringNouuid
pnrstringNoMax 20 chars
notesstringNoMax 1000 chars

Update Package Tour Booking

http
PUT /api/v1/bookings/{id}

Update Fields:

FieldTypeNotes
booking_referencestring1–50 chars
pnrstringMax 20 chars
booking_datestringYYYY-MM-DD
service_feenumberKeep at 0
commissionnumberAgency commission amount
paid_directly_to_supplierbooleanCannot be true simultaneously with paid_directly_to_agency
paid_directly_to_agencybooleanCannot be true simultaneously with paid_directly_to_supplier
income_tax_freenumberOptional
income_after_taxnumberOptional
notesstringMax 1000 chars

Mutual Exclusion

paid_directly_to_supplier and paid_directly_to_agency cannot both be true at the same time.

Unified API Documentation