Skip to main content

Endpoint

POST /api/quote/tgx exists in controller but is not implemented yet. Use /api/quote.

Authentication

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

Headers

Request Body

Top-level fields

quoteCriteria fields

Example Request

Success Response

Response Fields

Validation Behavior

  • optionId must exist and not be expired (search cache key)
  • accommodation.code must match cached option payload
  • checkIn/checkOut must match cached option payload
  • occupancies must match cached payload snapshot
  • If supplier quote price increased beyond tolerance, API returns 400 Price changed

Rate Limit Headers

/quote includes:
  • X-RateLimit-Limit
  • X-RateLimit-Remaining
  • X-RateLimit-Reset
  • Retry-After when limited (429)

Common Errors

  • 400 optionRefId is required
  • 400 Option reference expired or invalid
  • 400 Option reference invalid
  • 400 Accommodation code mismatch
  • 400 Stay dates mismatch
  • 400 Occupancy details mismatch
  • 400 Room is unavailable
  • 400 Price changed
  • 403 Invalid connection code.