Update a bucket list
update_bucket_listUse to edit a bucket list: the price bar, months or date window, nights, stops, airlines, preferred weekdays, name, guests, stars, or channels. Only the fields given change; a changed search resets the deals found so far. Confirm first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A new label for the list. | |
| text | No | Send alerts by text message. Needs a verified phone on the SlickTrip account; empty keeps the account's setting. | |
| No | Send alerts by email. Empty keeps the account's setting. | ||
| adults | No | Hotel lists: adults, 1-6. | |
| months | No | Months to watch, as names or YYYY-MM. Give this OR start_date + end_date. | |
| airlines | No | Only these marketing carriers, as IATA codes or names. | |
| end_date | No | YYYY-MM-DD. | |
| bucket_id | Yes | The list's bucket_id from list_bucket_lists. | |
| max_stops | No | Most stops allowed: 0 nonstop, 1, or 2. | |
| min_stars | No | Hotel lists: lowest star class, 1-5. | |
| max_nights | No | Flight lists: longest trip. Hotel lists: the stay length. | |
| min_nights | No | Flight lists: shortest trip. Hotel lists: the stay length. | |
| start_date | No | YYYY-MM-DD. | |
| depart_days | No | Flight lists: only depart on these weekdays. | |
| return_days | No | Flight lists: only return on these weekdays. | |
| clear_window | No | Remove the date window and watch the months instead. | |
| check_in_days | No | Hotel lists: only check in on these weekdays. | |
| max_price_usd | No | The price bar, USD: per traveler for a flight list (total when price_is_total), per night for a hotel list. | |
| price_is_total | No | Flight lists: max_price_usd is the total for all travelers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| kind | No | "flight" or "hotel" | |
| name | No | The bucket's name (pre-update record) | |
| stay | No | Hotel only: location, hotel_name, nights, adults | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| route | No | Flight only: origin, destination, names, trip_type, cabin, travelers | |
| status | No | updated | error | sign_in_required | |
| changed | No | Fields sent to the update handler, site vocabulary (price, stops, preferredMonths, ...) | |
| message | No | Error or sign-in message from the server wrapper | |
| bucket_id | No | The updated bucket list id | |
| manage_url | No | slicktrip.com saved buckets page link | |
| suggestions | No | On unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country | |
| display_name | No | Name as the card shows it | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler |