Modify Upgrade Bid
modify_bidChange the amount of a bid already prepared/placed on a booking. Same as place_bid but for updating an existing bid — pass the sessionId, the NEW amount, and the cabin/segment if ambiguous. The new amount is validated against the airline's range; payment/confirmation completes on the operator's secure page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The NEW bid amount in the offer currency. | |
| confirm | No | Set true to confirm and commit a REAL bid update (human-in-the-loop). Only required once live bid submission is enabled. | |
| segment | No | Route 'YUL-LHR' or flight number, if ambiguous. | |
| quantity | No | ||
| sessionId | No | The sessionId from start_eligibility_check. Optional if conversationId is passed. | |
| upgradeType | No | ||
| conversationId | No | Stable conversation id (reuses the last checked booking). | |
| presentationReport | No | 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| stage | No | ||
| amount | No | ||
| currency | No | ||
| handoffUrl | No | ||
| competitiveness | No | Updated Bid Analysis for the NEW amount, when enough resolved outcomes exist. | |
| reasoningBricks | No |