Skip to content

Supplier integration checklist

Sharipov Ruslan edited this page Oct 20, 2016 · 9 revisions

This page includes all steps/tasks needed for supplier integration. Feel free to contribute.

tasks before starting integration implementation

  • get servers (production / staging) information
  • get API documentation
  • get API access information (tokens, username-passwords and so on)
  • ensure we have working access to the API
  • determine type of client API (JSON, XML, SOAP)
  • determine cancellation policy for the supplier

common integration parts

quote price

  • add controller routing
  • add controller action
  • add controller specs
  • include quote shared specs examples
  • add client implementation returning result wrapping proper Quotation
  • add client specs + fixtures
  • add documentation for all classes / methods
  • make sure webhook is working properly

booking

  • add controller routing
  • add controller action
  • add controller specs
  • include booking shared specs examples
  • add client implementation returning result wrapping proper Reservation
  • add client specs + fixtures
  • save reservation to database + add specs
  • add documentation for all classes / methods
  • make sure webhook is working properly

cancellation

  • add controller routing
  • add controller action
  • add controller specs
  • add documentation for all classes / methods
  • add client specs + fixtures
  • add documentation for all classes / methods
  • make sure cancellation is working properly with staging server
  • is there any restrictions on before which day reservation can be cancelled?

sync worker

sync importer

  • build properties
  • build units
  • build availabilities
  • build images
  • implement amenities mapping
  • cache implementation if needed