Skip to main content

Endpoint

Authentication

  • Required header: api-key: <partner-api-key>
  • Required body field: settings.access.code

Headers

Request Body

Top-level fields

bookCriteria fields

Example Request

Success Response

Response Fields

Validation Behavior

  • quoteId must exist in quote cache and not be expired
  • Accommodation and stay dates must match quote snapshot
  • If occupancies are provided, adult/child counts and pax counts must match quote snapshot
  • settings.access.code must belong to partner linked to API key
  • On supplier booking failure, API returns 400 The booking was not successful.

Common Errors

  • 400 optionId is required
  • 400 Quote reference expired or invalid. Please quote again.
  • 400 Accommodation code mismatch
  • 400 Stay dates mismatch
  • 400 occupancyId is required when providing occupancies
  • 400 Occupancy X not found in cached quote
  • 400 Missing rate snapshot for booking
  • 400 Missing supplier metadata for booking
  • 400 The booking was not successful.
  • 403 Invalid connection code.
  • 404 Accommodation not found