action viator_booking_calculateprice { label: "/booking/calculateprice" description: "Confirm the price of a tour / activity prior to booking\n\nFor more information, see: [Calculating prices](#section/Common-workflows-and-data-validation/Calculating-prices) \n\n- **Note**: Availability and pricing data is limited to a period of **six months** into the future from the present time\n" provider: viator method: POST path: "/booking/calculateprice" encoding: json input: { type: "object" properties: { currencyCode: { type: "string" description: "**currency code** for the currency in which to display pricing details" } items: { type: "array" description: "**array** of travel detail objects" items: { type: "object" properties: { productCode: { type: "string" description: "**unique alphanumeric identifier** of the product the total price for which you which to calculate" } tourGradeCode: { type: "string" description: "**alphanumeric identifier** for the tour grade for which to calculate the total price" } travelDate: { type: "string" description: "**date** for which to calculate the total price (must be in the future)" } travellers: { type: "array" description: "**array of objects** detailing the age bands for which to calculate the total price" items: { type: "object" properties: { bandId: { type: "integer" description: "**unique numeric identifier** for the age band\n- See: [Working with age bands](#section/Appendices/Working-with-age-bands)\n" } } } } } } } } } output: { type: "object" } }