Update hotel alert settings
update_hotel_trackingUse to change how a tracked stay alerts: the alert rule, a target price, the email and text channels, or its name. Only the fields given change. Confirm first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Rename the stay, as it appears on the saved-hotels page. | |
| 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. | ||
| alert_rule | No | When to alert: lowest = only a new low, any = every price move, none = off. Leave empty for the default, or give target_price_usd instead. | |
| tracking_id | Yes | The stay's tracking_id from list_tracked_hotels. | |
| target_price_usd | No | Alert when the price goes under this, USD. Replaces alert_rule. It is the TOTAL: the whole trip for all travelers on a flight, the whole stay on a hotel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| name | No | New stay name if renamed | |
| note | No | Text alerts need a verified phone | |
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| status | No | updated | error | sign_in_required | |
| message | No | Error or sign-in message from the server wrapper | |
| channels | No | {email: boolean, text: boolean} stored channels | |
| manage_url | No | slicktrip.com saved-hotels page link | |
| alerts_when | No | When alerts fire, from the alert preference | |
| 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 | |
| tracking_id | No | The updated stay tracking id | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler | |
| text_not_enabled | No | Text asked but no verified phone | |
| text_unconfirmed | No | Could not confirm text-alert status |