Skip to content
Navigation

Get a tour or activity

GET
https://api.nicer.travel/tour-viator/products/{productCode}

Returns one the activities provider product by its product code, shaped as an itinerary activity segment. Because the provider's detail call carries no pricing, pass the price seen in search results to have it preserved on the segment.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Path parameters

  • productCode
    string
    required

Returns

200

OK

JSON
  • id
    string
    required
  • type
    string
    required
  • advisorInsights
    optional

    Any of the following:

    • string
    • null
  • amenities
    optional
    array of
    string
  • approvedAt
    optional

    Any of the following:

    • string
    • null
  • approvedBy
    optional

    Any of the following:

    • string
    • null
  • attachments
    optional

    Any of the following:

    • array<unknown>
      • key
        optional
        string
      • name
        optional
        string
      • source
        optional

        Any of the following:

        • string
        • string
      • url
        optional
        string
    • null
  • countTravelers
    optional
    number
  • createdAt
    optional
    string
  • createdBy
    optional
    string
  • currency
    optional
    string
  • details
    optional

    Any of the following:

    • string
    • null
  • endDateTime
    optional

    Any of the following:

    • string
    • null
  • groupId
    optional
    string
  • hash
    optional
    string
  • images
    optional

    Any of the following:

    • array<unknown>
      • key
        optional
        string
      • name
        optional
        string
      • source
        optional

        Any of the following:

        • string
        • string
      • url
        optional
        string
    • null
  • isOnSitePayment
    optional
    boolean
  • lastModifiedBy
    optional
    string
  • location
    optional
    object
    • address
      optional

      Any of the following:

      • string
      • null
    • amenities
      optional
      array of
      string
    • city
      optional

      Any of the following:

      • string
      • null
    • country
      optional
      string
    • countryCode
      optional
      string
    • description
      optional
      string
    • distanceFromSearch
      optional
      object
      • unit
        km
        or
        mi
        required
      • value
        number
        required
    • features
      optional
      array of
      string
    • fullAddress
      optional
      string
    • gate
      optional

      Any of the following:

      • string
      • null
    • iataCode
      optional

      Any of the following:

      • string
      • null
    • internovaId
      optional
      string
    • latitude
      optional
      number
    • longitude
      optional
      number
    • name
      optional
      string
    • photos
      optional
      array of
      object
      • name
        string
        required
      • key
        optional
        string
      • url
        optional
        string
    • placeId
      optional
      string
    • region
      optional
      string
    • source
      optional
      string
    • state
      optional

      Any of the following:

      • string
      • null
    • terminal
      optional

      Any of the following:

      • string
      • null
    • timeZone
      optional
      string
    • zipCode
      optional

      Any of the following:

      • string
      • null
  • metadata
    optional
    map of
    unknown

    Keys the writers share (the booking selection, the commerce order state). Its provider key, which provider the segment comes from, is answered to Nicer staff only.

  • price
    optional
    number
  • priceInUSD
    optional

    Any of the following:

    • number
    • null
  • rate
    optional

    Any of the following:

    • number
    • null
  • startDateTime
    optional
    string
  • title
    optional

    Any of the following:

    • string
    • null
  • updatedAt
    optional
    string
  • additionalInfo
    optional
    array of
    string
  • bookingQuestions
    optional
    array of
    string
  • cancellationPolicy
    optional
    object
    • isCancellable
      boolean
      required
    • cancelIfBadWeather
      optional
      boolean
    • freeDeadline
      optional
      string
  • dropoffInstructions
    optional
    string
  • dropoffLocation
    optional
    object
    • address
      optional

      Any of the following:

      • string
      • null
    • amenities
      optional
      array of
      string
    • city
      optional

      Any of the following:

      • string
      • null
    • country
      optional
      string
    • countryCode
      optional
      string
    • description
      optional
      string
    • distanceFromSearch
      optional
      object
      • unit
        km
        or
        mi
        required
      • value
        number
        required
    • features
      optional
      array of
      string
    • fullAddress
      optional
      string
    • gate
      optional

      Any of the following:

      • string
      • null
    • iataCode
      optional

      Any of the following:

      • string
      • null
    • internovaId
      optional
      string
    • latitude
      optional
      number
    • longitude
      optional
      number
    • name
      optional
      string
    • photos
      optional
      array of
      object
      • name
        string
        required
      • key
        optional
        string
      • url
        optional
        string
    • placeId
      optional
      string
    • region
      optional
      string
    • source
      optional
      string
    • state
      optional

      Any of the following:

      • string
      • null
    • terminal
      optional

      Any of the following:

      • string
      • null
    • timeZone
      optional
      string
    • zipCode
      optional

      Any of the following:

      • string
      • null
  • dropoffTime
    optional
    string
  • durationMinutes
    optional
    number
  • durationText
    optional
    string
  • exclusions
    optional
    array of
    string
  • freeCancellation
    optional
    boolean
  • inclusions
    optional
    array of
    string
  • instantConfirmation
    optional
    boolean
  • itinerarySteps
    optional
    array of
    object
    • title
      string
      required
    • admissionIncluded
      optional
      YES
      or
      NO
      or
      NOT_APPLICABLE
    • description
      optional
      string
    • durationMinutes
      optional
      number
    • durationText
      optional
      string
    • location
      optional
      object
      • address
        optional

        Any of the following:

        • string
        • null
      • amenities
        optional
        array of
        string
      • city
        optional

        Any of the following:

        • string
        • null
      • country
        optional
        string
      • countryCode
        optional
        string
      • description
        optional
        string
      • distanceFromSearch
        optional
        object
        • unit
          km
          or
          mi
          required
        • value
          number
          required
      • features
        optional
        array of
        string
      • fullAddress
        optional
        string
      • gate
        optional

        Any of the following:

        • string
        • null
      • iataCode
        optional

        Any of the following:

        • string
        • null
      • internovaId
        optional
        string
      • latitude
        optional
        number
      • longitude
        optional
        number
      • name
        optional
        string
      • photos
        optional
        array of
        object
        • name
          string
          required
        • key
          optional
          string
        • url
          optional
          string
      • placeId
        optional
        string
      • region
        optional
        string
      • source
        optional
        string
      • state
        optional

        Any of the following:

        • string
        • null
      • terminal
        optional

        Any of the following:

        • string
        • null
      • timeZone
        optional
        string
      • zipCode
        optional

        Any of the following:

        • string
        • null
    • passByWithoutStopping
      optional
      boolean
  • languages
    optional
    array of
    string
  • maxTravelersPerBooking
    optional
    number
  • minTravelersPerBooking
    optional
    number
  • mobileTicket
    optional
    boolean
  • pickupInstructions
    optional
    string
  • pickupLocation
    optional
    object
    • address
      optional

      Any of the following:

      • string
      • null
    • amenities
      optional
      array of
      string
    • city
      optional

      Any of the following:

      • string
      • null
    • country
      optional
      string
    • countryCode
      optional
      string
    • description
      optional
      string
    • distanceFromSearch
      optional
      object
      • unit
        km
        or
        mi
        required
      • value
        number
        required
    • features
      optional
      array of
      string
    • fullAddress
      optional
      string
    • gate
      optional

      Any of the following:

      • string
      • null
    • iataCode
      optional

      Any of the following:

      • string
      • null
    • internovaId
      optional
      string
    • latitude
      optional
      number
    • longitude
      optional
      number
    • name
      optional
      string
    • photos
      optional
      array of
      object
      • name
        string
        required
      • key
        optional
        string
      • url
        optional
        string
    • placeId
      optional
      string
    • region
      optional
      string
    • source
      optional
      string
    • state
      optional

      Any of the following:

      • string
      • null
    • terminal
      optional

      Any of the following:

      • string
      • null
    • timeZone
      optional
      string
    • zipCode
      optional

      Any of the following:

      • string
      • null
  • pickupTime
    optional
    string
  • privateTour
    optional
    boolean
  • provider
    optional
    string

    Which provider the activity comes from (viator, manual). Answered to Nicer staff only.

  • providerBookingRef
    optional
    string

    The provider's booking reference. Answered only to the agency's own advisors and admins and to Nicer staff.

  • providerProductCode
    optional
    string

    The provider's product code. Answered only to the agency's own advisors and admins and to Nicer staff.

  • providerProductUrl
    optional
    string

    The provider's product page, where the advisor books it. Answered only to the agency's own advisors and admins and to Nicer staff.

  • reviews
    optional
    object
    • averageRating
      optional
      number
    • totalReviews
      optional
      number
  • skipTheLine
    optional
    boolean
  • status
    optional
    proposed
    or
    hold
    or
    booked
    or
    cancelled
  • supplierName
    optional
    string
  • supplierReference
    optional
    string
  • timeZone
    optional
    string
  • travelers
    optional
    array of
    string

400

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

401

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

403

Request failed. errorCode is stable; errorMessage is for humans.
JSON
  • errorCode
    string
    required
  • errorMessage
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close