⇡ POST /booking_import

This allows you to import bookings into City Connect without triggering the booking confirmation callback. This is useful if you wish to redeem vouchers using a system that's connected to City Connect.

The /booking_import request must be made as a POST request to https://api.cityconnect.net/v1/booking_import. You must use your email and token created in your account as HTTP Basic Authentication header to authenticate the request.

{
  "agent": "viator.com",
  "agent_reference": "TEST123",
  "supplier_reference": "321TEST",
  "barcode": 123123123,
  "product": "WINETOUR",
  "option": "WITHLUNCH",
  "time": "09:00",
  "date": "2018-01-01",
  "pickup": "Tour Office & Travel Depot",
  "adult": 2,
  "child": 1,
  "notes": "Allergic to nuts",
  "customer": {
    "first_name": "John",
    "last_name": "Smith",
    "email": "[email protected]",
    "mobile": "+17345551212",
    "language": "en",
    "country": "GB"
  },
}