Get a price quote
get_price_quoteGet the live total for a TripWays tour on one date and start time for a traveler mix, priced from the operator's booking calendar. A quote does not hold seats or charge anything. Optional extras and promo codes are not included. When the tour's rates cannot price that mix, the result is unpriced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| bokun_id | Yes | ||
| travelers | No | Simple ages; mapped to Bokun pricing categories. | |
| start_time | No | HH:MM if start_time_id unknown. | |
| start_time_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| date | No | ||
| error | No | Present when ok is false. code: tour_not_found, destination_not_found, destination_ambiguous, or unpriced. message is written for the traveler. | |
| reason | No | ||
| bokun_id | No | ||
| currency | No | ||
| from_price | No | ||
| quote_kind | No | ||
| rate_title | No | ||
| start_time | No | ||
| checkout_url | No | Checkout preset to this date, time, and travelers. | |
| package_total | No | Total for the whole group, before optional extras and promo codes. | |
| promo_applied | No | ||
| min_participants | No | ||
| travelers_priced | No | Traveler counts the total covers. | |
| bookable_natively | No | ||
| includes_required_extras | No | ||
| optional_extras_excluded | No |