YGO API
  1. Schemas
YGO API
  • Overview
  • Core Concepts
  • Authentication
  • Quickstart Guide
  • AI Search & Trip Planning
  • Booking Flow
  • Environments
  • General
    • Check API health status
    • Get current API key context
  • AI Search & Trip Planning
    • Send message to YGO AI
  • Product Search (Classic)
    • Search for hotel & package offers
    • Get transfers for booking
    • Get package price calendar
  • Bookings
    • Get or create open booking
    • Update open booking
    • Update booking status and trigger workflows
    • List bookings
    • Get booking
  • Schemas
    • Schemas
      • PackageSearchRequest
      • GetTransfersRequest
      • GetOpenBookingRequest
      • SaveOpenBookingRequest
      • SaveBookingStatusRequest
      • ListBookingsRequest
      • GetBookingRequest
      • GetPackageCalendarRequest
      • Product
      • TransferOptionsResponse
      • Booking
      • ProductTexts
      • TransferOption
      • BookingDetails
      • TripReference
      • PackageCalendarResponse
      • LocaleContent
      • Trip
      • BookingItemInput
      • PackageCalendarDate
      • ProductImage
      • TransferImage
      • BookingItem
      • ProductDetails
      • PickupInformation
      • Traveller
      • PackageOffer
      • PickupLocation
      • TourOperator
      • Pickup
      • Image
      • Accommodation
      • CheckPickup
      • Room
      • TransferRemark
      • Transport
      • CancellationPolicy
      • Flight
      • Airport
      • Price
      • PriceByPax
      • SuccessResponse
      • ErrorResponse
      • Hotel
      • HotelFeatures
      • FeatureState
      • RoomFeatures
      • RoomContent
      • Facility
    • Response
      • Unauthorized
  1. Schemas

BookingDetails

Complete booking details including trip information, items, travelers, contact information, and pricing. This is the primary object that gets updated.

{
    "Trip": {
        "ProductID": 12345
    },
    "Items": [],
    "Travellers": [],
    "FirstName": "John",
    "LastName": "Smith",
    "Email": "john.smith@example.com",
    "Phone": "+44 7700 900123",
    "Street": "123 Main Street",
    "ZipCode": "10001",
    "City": "New York",
    "CountryCode": "US",
    "Voucher": {
        "Code": "SUMMER2025"
    },
    "TotalPrice": {
        "Amount": 850,
        "Currency": "EUR"
    },
    "Locale": "en"
}
Built with