QuoteRequest
Request payload for prebooking quote
criteria objectrequired
Quote criteria (CriteriaQuoteInput proto)
Pass search options[].id here. After quote, book with optionQuote.optionRefId.
Response language code (ISO 639-1)
enadditionalData object
Optional string map forwarded to the integration. Aggregator also reads
paymentMode (MERCHANT / DIRECT_ONLY) for VCC policy and skipMarkup.
Analytics only (not a booking token). Funnel search ID from availability
(searchId in JSON). Do not pass this value as optionRefId.
How it works:
- Pass the
search_idreturned from/hotels/v1/availabilityto link this quote to the original search. - Enables funnel analysis: tracks conversion from Search → Quote.
- If not provided, the system will attempt to link using:
- Request context (if same request flow)
- Correlation ID (as fallback for cross-request linking)
- The source of the ID is tracked in analytics (
search_id_source: "request", "context", "correlation_id").
Benefits:
- Accurate funnel conversion metrics
- Better analytics and reporting
- Ability to track user journey across operations
Example: "search_id": "550e8400-e29b-41d4-a716-446655440000"
settings objectrequired
Common settings for all requests
Unique request identifier for tracking
req-123456789List of provider connection codes to query
Possible values: >= 1
["testb-conn-1876","testb-conn-1877"]When true, responses may include auditData.transactions with supplier-level traces for debugging.
Use sparingly in production; redact sensitive data in logs.
falseClient timeout hint in milliseconds; platform and supplier minimums may still apply (especially for book). For availability it is also clamped to the server maximum (60000 by default), and the clamped value is the budget forwarded to the connections, so a larger figure is silently reduced rather than honoured. No schema-level default is declared on purpose: this object is shared by every operation and the effective fallback is per-operation (availability uses 10000, book is considerably higher). Omit the field to take the server's fallback for the operation you are calling rather than sending one that would cut a longer operation short.
When true, enables non-production / sandbox-oriented behaviour where supported for the connection.
falsedebugData object
Additional debug data
Additional debug data
{
"criteria": {
"optionRefId": "string",
"language": "en",
"additionalData": {
"paymentMode": "MERCHANT"
},
"search_id": "string"
},
"settings": {
"requestId": "req-123456789",
"connectionCodes": [
"testb-conn-1876",
"testb-conn-1877"
],
"auditTransactions": false,
"timeout": 0,
"testMode": false,
"debugData": {}
}
}