addedInput schema / properties / rate_id
Added value: +{
+ "description": "Option to price: a rate_id from rate_options (or check_availability rate_ids). Omit for the option the tour page advertises.",
+ "minimum": 1,
+ "type": "integer"
+}
addedOutput schema / properties / from_price / description
Added value: +"The tour's From price: what one adult pays on the option the tour page advertises, the price Google shows. Not the price of this quote; that is package_total."
addedOutput schema / properties / from_price_basis_adults
Added value: +{
+ "description": "Travelers from_price covers: 1, or the minimum group on a tour sold only to groups (from_price is then that group's total).",
+ "type": "integer"
+}
addedOutput schema / properties / group_price
Added value: +{
+ "description": "Present when the tour page also shows a group price, for example \"2 travelers: $187.09 each\": what each pays when that many adults book together on the advertised option. Quote it as given.",
+ "properties": {
+ "adults": {
+ "type": "integer"
+ },
+ "per_person": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "total": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "type": "object"
+}
addedOutput schema / properties / per_person
Added value: +{
+ "description": "What each traveler pays in this quote, when all are one age group on a per-person option (package_total split evenly).",
+ "minimum": 0,
+ "type": "number"
+}
addedOutput schema / properties / pickup_charge
Added value: +{
+ "description": "Compulsory pickup / drop-off charge, already in package_total.",
+ "minimum": 0,
+ "type": "number"
+}
addedOutput schema / properties / rate_id
Added value: +{
+ "description": "The option priced. Pass to get_booking_link.",
+ "type": "integer"
+}
addedOutput schema / properties / rate_options
Added value: +{
+ "description": "Every option at this start time. Priced options carry package_total for the same travelers; unpriced ones carry min_travelers or max_travelers when group size is the reason. Pass rate_id to get_price_quote or get_booking_link to choose one.",
+ "items": {
+ "properties": {
+ "max_travelers": {
+ "type": "integer"
+ },
+ "min_travelers": {
+ "type": "integer"
+ },
+ "package_total": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "pickup_charge": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "priced": {
+ "type": "boolean"
+ },
+ "rate_id": {
+ "type": "integer"
+ },
+ "required_extras_unpriced": {
+ "type": "boolean"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / required_extras_unpriced
Added value: +{
+ "type": "boolean"
+}