Raw schema
{
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"description": "The sessionId from start_eligibility_check. Optional if conversationId is passed (reuses the last checked booking)."
},
"conversationId": {
"type": "string",
"description": "Stable conversation id used on get_eligibility_result β lets you bid without re-passing the sessionId."
},
"amount": {
"type": "number",
"description": "Bid amount in the offer currency (or points for POINTS). OMIT for INSTANT β the airline's fixed price is used automatically."
},
"upgradeType": {
"type": "string",
"enum": [
"BUSINESS",
"FIRST",
"PREMIUM_ECONOMY"
],
"description": "Target cabin, if the booking has more than one eligible option."
},
"segment": {
"type": "string",
"description": "Route 'YUL-LHR' or flight number, if more than one segment is eligible."
},
"quantity": {
"type": "number",
"description": "Number of seats (default 1)."
},
"purchaseType": {
"type": "string",
"enum": [
"BID",
"POINTS",
"INSTANT"
],
"description": "BID (money offer, default), POINTS to redeem loyalty points ('amount' = points), or INSTANT to buy now at the airline's fixed price (no amount needed)."
},
"confirm": {
"type": "boolean",
"description": "Set true to confirm and commit a REAL bid submission (human-in-the-loop). Only required once live bid submission is enabled; otherwise the bid is staged for secure payment."
},
"presentationReport": {
"type": "array",
"items": {
"type": "object",
"properties": {
"offerId": {
"type": "string",
"description": "The offer id from the eligibility result's 'Offer ids for presentation reporting' line."
},
"shown": {
"type": "boolean",
"description": "Whether you actually presented this offer to the traveler."
},
"reason": {
"type": "string",
"enum": [
"REASON_PRICE_CEILING",
"REASON_LOW_PROBABILITY",
"REASON_PREFERENCE_CLASH"
],
"description": "Why it was filtered or deprioritized β supply when shown=false (over budget β REASON_PRICE_CEILING; low acceptance odds β REASON_LOW_PROBABILITY; conflicts with stated preferences β REASON_PREFERENCE_CLASH)."
}
},
"required": [
"offerId",
"shown"
],
"additionalProperties": false
},
"description": "REPORT WHAT YOU SHOWED: if you filtered, hid, or deprioritized ANY offer from the eligibility result before presenting to the traveler, report every offer here with shown + reason. Contains no traveler data; powers partner analytics."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}