Correct the facts on a portfolio aircraft
update_portfolio_aircraftChange what is on file about one aircraft in a portfolio you own, whether it is still in the portfolio or has left it. Send only what changes. On an aircraft still in the portfolio, facts the valuation depends on (tail, year, hours, engine times, condition, location, the date it came in) re-price its history, which takes a minute or two (repricing is true in the reply). On one that has left, every change is recorded, and one that would have moved its value history (those facts, or an exit moved later) has that history priced again in place, up to the day it left: the reply says repricing and value_history_stale, and list_portfolio_archived_aircraft shows value_history_stale false once the new values are in (a minute or two). The entry price, asking price, notes and the exit facts (why it left, when, for how much) never affect values. Exit facts apply only to an aircraft that has left. This does not change an aircraft's make and model, and does not add, archive, restore or delete aircraft. Confirm the change with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aftt | No | Airframe total time, hours. | |
| year | No | Model year. | |
| notes | No | Free-text notes on the aircraft. | |
| reg_no | No | Tail number, e.g. "N7571T". | |
| smoh_1 | No | Engine 1 hours since major overhaul. | |
| smoh_2 | No | Engine 2 hours since major overhaul (twins). | |
| line_id | Yes | From list_portfolio_aircraft or list_portfolio_archived_aircraft. | |
| exit_date | No | Archived aircraft only: YYYY-MM-DD it left. | |
| exit_note | No | Archived aircraft only: a note on the exit. An empty string clears it. | |
| listed_on | No | YYYY-MM-DD it was listed for sale. | |
| exit_value | No | Archived aircraft only: USD it left for (the sale price, or the last asking price). | |
| exit_reason | No | Archived aircraft only: why it left. | |
| asking_price | No | Current (or last) asking price, USD. | |
| location_text | No | Where it is based, e.g. "Portland, OR". | |
| acquisition_date | No | YYYY-MM-DD: the day it came into the portfolio (bought, financed, or listed for sale). | |
| exterior_quality | No | Exterior condition, a grade from 1 (worst) to 10 (like-new). A fraction below 1 is read on the legacy 0–1 scale. | |
| interior_quality | No | Interior condition, a grade from 1 (worst) to 10 (like-new). A fraction below 1 is read on the legacy 0–1 scale. | |
| acquisition_value | No | USD it came in at: the purchase price, or for an aircraft listed for sale the first asking price. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |