Skip to content
Logistics & shipping

viator.com

Viator API Documentation & Specification – Merchant Partners sandbox and mock API

<style type='text/css'> code { white-space: nowrap; } a { font-weight: bold; } figure { width: 100%; text-align: center; font-style: italic; font-size: smaller; text-indent: 0; border: thin silver solid; margin: 0.5em; padding: 0.5em; } </style> ## Updates ### Latest update: | Date | Description | |------|-------------| | 3 Feb 2021 | Added [Special offers and on-sale pricing](#section Writes persist, data moves on a schedule and every change can fire a signed webhook.

Operations
28
Collections
-
Event types
-
example request
curl https://your-viator.slurry.io/service/booking/availability/dates \
  -H "Authorization: Bearer slurry_sim_..."

Your simulation gets its own hostname, key and IP allow-list. Built from API version 1.0.0.

What gets simulated

Collections, relationships and state machines are worked out from the spec when you start the simulation.

  • State. Creates, updates and deletes persist and show up in later reads.
  • Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
  • Webhooks. Every change emits a signed, retried event.
  • Failure. Per-endpoint errors, latency and chaos rules, on demand.

Operations

First 12 of 28.

  • POST/available/products
  • POST/booking/availability
  • GET/booking/availability/dates
  • POST/booking/availability/tourgrades
  • POST/booking/availability/tourgrades/pricingmatrix
  • POST/booking/book
  • POST/booking/calculateprice
  • GET/booking/hotels
  • GET/booking/mybookings
  • GET/booking/pastbooking
  • POST/booking/pricingmatrix
  • POST/booking/status