Skip to content
Navigation

Add itinerary segments from a partner

POST
https://api.nicer.travel/trip-itinerary/{tripItineraryId}/webhook

Appends segments to a trip itinerary on behalf of an integration partner and re-synchronizes the trip dates. Not anonymous: the request must carry x-nicer-webhook-timestamp, x-nicer-webhook-signature and Idempotency-Key, and the handler verifies an HMAC-SHA256 signature over the raw body, rejecting anything outside a five-minute window with 401 WEBHOOK_SIGNATURE_INVALID. A segment id already present on the itinerary returns 409 WEBHOOK_SEGMENT_ALREADY_EXISTS.

Authorization

  • webhookSignature
    API key in header
    required

    x-nicer-webhook-signature: <token>

Path parameters

  • tripItineraryId
    string
    required

Request body JSON required

  • segment
    ItinerarySegmentInput
    required

    One of the following:

    • ItineraryFlightSegmentInput
      • id
        string
        required
      • type
        string
        required
      • flightType
        one-way
        or
        round-trip
        or
        multi-city
        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

        Any of the following:

        • Location
        • 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
      • baggageCharges
        optional
        array of
        object
        • description
          required

          Any of the following:

          • string
          • null
        • firstPiece
          integer
          required
          maximum: 9007199254740991
        • lastPiece
          integer
          required
          maximum: 9007199254740991
        • passengerReference
          string
          required
          minLength: 1
        • price
          object
          required
          • amountMinor
            integer
            required
            maximum: 9007199254740991 · minimum: 0
          • currency
            string
            required
            pattern: ^[A-Z]{3}$
        • segmentReferences
          array of
          string
          required
          minLength: 1
        • size
          required

          Any of the following:

          • BaggageSize
          • null
        • type
          CARRY_ON
          or
          CHECKED
          required
        • weight
          required

          Any of the following:

          • BaggageWeight
          • null
      • brandFeatures
        optional
        array of
        object
        • availability
          CHARGEABLE
          or
          INCLUDED
          or
          NOT_OFFERED
          required
        • name
          string
          required
          minLength: 1
      • cabin
        optional
        BUSINESS
        or
        ECONOMY
        or
        FIRST
        or
        PREMIUM_ECONOMY
      • commercialSnapshot
        optional
        object

        Expected supplier commission, advisor earning and traveler reward, with their calculation inputs, as quoted. Answered only to the agency's own advisors and admins and to Nicer staff; absent for travelers and anonymous readers.

        • calculationInputs
          map of
          any of
          required
        • expectedAdvisorEarning
          required

          Any of the following:

          • object
            • amountMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • basis
              required

              Any of the following:

              • string
              • null
            • rateBps
              required

              Any of the following:

              • integer
              • null
          • null
        • expectedSupplierCommission
          required

          Any of the following:

          • object
            • amountMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • basis
              required

              Any of the following:

              • string
              • null
            • rateBps
              required

              Any of the following:

              • integer
              • null
          • null
        • expectedTravelerReward
          required

          Any of the following:

          • object
            • amountMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • basis
              required

              Any of the following:

              • string
              • null
            • rateBps
              required

              Any of the following:

              • integer
              • null
          • null
        • policyVersion
          string
          required
          minLength: 1
      • fareRules
        optional
        array of
        object
        • category
          ADVANCE_PURCHASE
          or
          CANCELLATION
          or
          CHANGE
          or
          MINIMUM_STAY
          or
          NO_SHOW
          or
          OTHER
          required
        • exactCopy
          string
          required
          minLength: 1
        • passengerReferences
          array of
          string
          required
          minLength: 1
      • flightIndex
        optional
        string
      • inbound
        optional
        array of
        object
        • departingAt
          string
          required
        • destination
          object
          required
          • 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
        • origin
          object
          required
          • 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
        • aircraft
          optional

          Any of the following:

          • string
          • null
        • arrivingAt
          optional
          default: null

          Any of the following:

          • string
          • null
        • baggage
          optional
          array of
          object
          • passengerReference
            string
            required
            minLength: 1
          • pieces
            required

            Any of the following:

            • integer
            • null
          • serviceId
            string
            required
            minLength: 1
          • status
            AVAILABLE
            or
            NOT_REQUESTED
            or
            NOT_SUPPORTED
            required
          • type
            CARRY_ON
            or
            CHECKED
            required
          • weight
            required

            Any of the following:

            • BaggageWeight
            • null
          • description
            optional

            Any of the following:

            • string
            • null
          • size
            optional

            Any of the following:

            • BaggageSize
            • null
        • bookingClass
          optional

          Any of the following:

          • string
          • null
        • brand
          optional

          Any of the following:

          • object
            • code
              string
              required
            • name
              string
              required
          • null
        • cabin
          optional
          BUSINESS
          or
          ECONOMY
          or
          FIRST
          or
          PREMIUM_ECONOMY
        • distance
          optional

          Any of the following:

          • string
          • null
        • duration
          optional

          Any of the following:

          • string
          • null
        • explicitNoFlightNumber
          optional

          Any of the following:

          • boolean
          • null
        • fareBasisCode
          optional

          Any of the following:

          • string
          • null
        • hiddenStops
          optional
          array of
          object
          • airport
            object
            required
            • city
              required

              Any of the following:

              • string
              • null
            • countryCode
              required

              Any of the following:

              • CountryCode
              • null
            • iataCode
              string
              required
              pattern: ^[A-Z]{3}$
            • name
              required

              Any of the following:

              • string
              • null
            • timeZone
              required

              Any of the following:

              • string
              • null
          • arrivalAt
            required

            Any of the following:

            • string
            • null
          • departureAt
            required

            Any of the following:

            • string
            • null
          • durationMinutes
            required

            Any of the following:

            • integer
            • null
        • legId
          optional
          string
        • marketingCarrier
          optional
          object
          • conditionsOfCarriageUrl
            optional

            Any of the following:

            • string
            • null
          • iataCode
            optional
            default: null

            Any of the following:

            • string
            • null
          • logoLockupUrl
            optional

            Any of the following:

            • string
            • null
          • logoSymbolUrl
            optional

            Any of the following:

            • string
            • null
          • name
            optional
            default: null

            Any of the following:

            • string
            • null
        • marketingCarrierFlightNumber
          optional

          Any of the following:

          • string
          • null
        • operatingCarrier
          optional
          object
          • conditionsOfCarriageUrl
            optional

            Any of the following:

            • string
            • null
          • iataCode
            optional
            default: null

            Any of the following:

            • string
            • null
          • logoLockupUrl
            optional

            Any of the following:

            • string
            • null
          • logoSymbolUrl
            optional

            Any of the following:

            • string
            • null
          • name
            optional
            default: null

            Any of the following:

            • string
            • null
        • operatingCarrierFlightNumber
          optional

          Any of the following:

          • string
          • null
        • providerSegmentReference
          optional
          string
        • seats
          optional
          array of
          object
          • passengerReference
            string
            required
            minLength: 1
          • price
            required

            Any of the following:

            • Money
            • null
          • seatId
            string
            required
            minLength: 1
          • seatNumber
            string
            required
            minLength: 1
        • services
          optional
          array of
          object
          • name
            string
            required
            minLength: 1
          • passengerReferences
            array of
            string
            required
            minLength: 1
          • price
            required

            Any of the following:

            • Money
            • null
          • serviceId
            string
            required
            minLength: 1
          • status
            CONFIRMED
            or
            ON_REQUEST
            required
      • outbound
        optional
        array of
        object
        • departingAt
          string
          required
        • destination
          object
          required
          • 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
        • origin
          object
          required
          • 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
        • aircraft
          optional

          Any of the following:

          • string
          • null
        • arrivingAt
          optional
          default: null

          Any of the following:

          • string
          • null
        • baggage
          optional
          array of
          object
          • passengerReference
            string
            required
            minLength: 1
          • pieces
            required

            Any of the following:

            • integer
            • null
          • serviceId
            string
            required
            minLength: 1
          • status
            AVAILABLE
            or
            NOT_REQUESTED
            or
            NOT_SUPPORTED
            required
          • type
            CARRY_ON
            or
            CHECKED
            required
          • weight
            required

            Any of the following:

            • BaggageWeight
            • null
          • description
            optional

            Any of the following:

            • string
            • null
          • size
            optional

            Any of the following:

            • BaggageSize
            • null
        • bookingClass
          optional

          Any of the following:

          • string
          • null
        • brand
          optional

          Any of the following:

          • object
            • code
              string
              required
            • name
              string
              required
          • null
        • cabin
          optional
          BUSINESS
          or
          ECONOMY
          or
          FIRST
          or
          PREMIUM_ECONOMY
        • distance
          optional

          Any of the following:

          • string
          • null
        • duration
          optional

          Any of the following:

          • string
          • null
        • explicitNoFlightNumber
          optional

          Any of the following:

          • boolean
          • null
        • fareBasisCode
          optional

          Any of the following:

          • string
          • null
        • hiddenStops
          optional
          array of
          object
          • airport
            object
            required
            • city
              required

              Any of the following:

              • string
              • null
            • countryCode
              required

              Any of the following:

              • CountryCode
              • null
            • iataCode
              string
              required
              pattern: ^[A-Z]{3}$
            • name
              required

              Any of the following:

              • string
              • null
            • timeZone
              required

              Any of the following:

              • string
              • null
          • arrivalAt
            required

            Any of the following:

            • string
            • null
          • departureAt
            required

            Any of the following:

            • string
            • null
          • durationMinutes
            required

            Any of the following:

            • integer
            • null
        • legId
          optional
          string
        • marketingCarrier
          optional
          object
          • conditionsOfCarriageUrl
            optional

            Any of the following:

            • string
            • null
          • iataCode
            optional
            default: null

            Any of the following:

            • string
            • null
          • logoLockupUrl
            optional

            Any of the following:

            • string
            • null
          • logoSymbolUrl
            optional

            Any of the following:

            • string
            • null
          • name
            optional
            default: null

            Any of the following:

            • string
            • null
        • marketingCarrierFlightNumber
          optional

          Any of the following:

          • string
          • null
        • operatingCarrier
          optional
          object
          • conditionsOfCarriageUrl
            optional

            Any of the following:

            • string
            • null
          • iataCode
            optional
            default: null

            Any of the following:

            • string
            • null
          • logoLockupUrl
            optional

            Any of the following:

            • string
            • null
          • logoSymbolUrl
            optional

            Any of the following:

            • string
            • null
          • name
            optional
            default: null

            Any of the following:

            • string
            • null
        • operatingCarrierFlightNumber
          optional

          Any of the following:

          • string
          • null
        • providerSegmentReference
          optional
          string
        • seats
          optional
          array of
          object
          • passengerReference
            string
            required
            minLength: 1
          • price
            required

            Any of the following:

            • Money
            • null
          • seatId
            string
            required
            minLength: 1
          • seatNumber
            string
            required
            minLength: 1
        • services
          optional
          array of
          object
          • name
            string
            required
            minLength: 1
          • passengerReferences
            array of
            string
            required
            minLength: 1
          • price
            required

            Any of the following:

            • Money
            • null
          • serviceId
            string
            required
            minLength: 1
          • status
            CONFIRMED
            or
            ON_REQUEST
            required
      • owner
        optional
        object
        • code
          string
          required
          pattern: ^[A-Z0-9]{2,3}$
        • name
          required

          Any of the following:

          • string
          • null
        • logoAssetReference
          optional

          Any of the following:

          • string
          • null
      • passengers
        optional
        array of
        object
        • count
          integer
          required
          maximum: 9007199254740991
        • totalMinor
          required

          Any of the following:

          • integer
          • null
        • type
          ADULT
          or
          CHILD
          or
          INFANT
          required
      • policies
        optional
        array of
        object
        • allowed
          required

          Any of the following:

          • boolean
          • null
        • deadline
          required

          Any of the following:

          • string
          • null
        • exactCopy
          string
          required
          minLength: 1
        • kind
          CANCELLATION
          or
          CHANGE
          or
          DEPOSIT
          or
          GUARANTEE
          or
          NO_SHOW
          or
          PAY_AT_PROPERTY
          required
        • penalties
          array of
          object
          required
          • amount
            required

            Any of the following:

            • Money
            • null
          • from
            required

            Any of the following:

            • string
            • null
          • summary
            string
            required
            minLength: 1
      • priceSnapshot
        optional
        object
        • baseMinor
          required

          Any of the following:

          • integer
          • null
        • collector
          MULTIPLE
          or
          NICER
          or
          PROPERTY
          or
          PROVIDER
          or
          UNKNOWN
          required
        • currency
          string
          required
          pattern: ^[A-Z]{3}$
        • depositMinor
          required

          Any of the following:

          • integer
          • null
        • discounts
          array of
          object
          required
          • amountMinor
            integer
            required
            maximum: 9007199254740991 · minimum: 0
          • code
            string
            required
            minLength: 1
          • label
            string
            required
            minLength: 1
        • dueAtPropertyMinor
          integer
          required
          maximum: 9007199254740991 · minimum: 0
        • dueLaterMinor
          integer
          required
          maximum: 9007199254740991 · minimum: 0
        • dueNowMinor
          integer
          required
          maximum: 9007199254740991 · minimum: 0
        • fees
          array of
          object
          required
          • amountMinor
            integer
            required
            maximum: 9007199254740991 · minimum: 0
          • code
            string
            required
            minLength: 1
          • label
            string
            required
            minLength: 1
        • lineItems
          array of
          object
          required
          • amountMinor
            integer
            required
            maximum: 9007199254740991 · minimum: 0
          • code
            string
            required
            minLength: 1
          • label
            string
            required
            minLength: 1
        • taxes
          array of
          object
          required
          • amountMinor
            integer
            required
            maximum: 9007199254740991 · minimum: 0
          • code
            string
            required
            minLength: 1
          • label
            string
            required
            minLength: 1
        • totalMinor
          integer
          required
          maximum: 9007199254740991 · minimum: 0
      • rules
        optional
        object

        What changing or canceling costs before departure and, when filed, after it.

        • cancellation
          object
          required
          • allowed
            required

            Any of the following:

            • boolean
            • null
          • deadline
            required

            Any of the following:

            • string
            • null
          • penalty
            required

            Any of the following:

            • Money
            • null
          • summary
            required

            Any of the following:

            • string
            • null
          • penaltyRange
            optional

            Any of the following:

            • object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • maximumAmountMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
              • minimumAmountMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • null
        • change
          object
          required
          • allowed
            required

            Any of the following:

            • boolean
            • null
          • deadline
            required

            Any of the following:

            • string
            • null
          • penalty
            required

            Any of the following:

            • Money
            • null
          • summary
            required

            Any of the following:

            • string
            • null
          • penaltyRange
            optional

            Any of the following:

            • object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • maximumAmountMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
              • minimumAmountMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • null
        • afterDeparture
          optional
          object
          • cancellation
            object
            required
            • allowed
              required

              Any of the following:

              • boolean
              • null
            • deadline
              required

              Any of the following:

              • string
              • null
            • penalty
              required

              Any of the following:

              • Money
              • null
            • summary
              required

              Any of the following:

              • string
              • null
            • penaltyRange
              optional

              Any of the following:

              • object
                • currency
                  string
                  required
                  pattern: ^[A-Z]{3}$
                • maximumAmountMinor
                  integer
                  required
                  maximum: 9007199254740991 · minimum: 0
                • minimumAmountMinor
                  integer
                  required
                  maximum: 9007199254740991 · minimum: 0
              • null
          • change
            object
            required
            • allowed
              required

              Any of the following:

              • boolean
              • null
            • deadline
              required

              Any of the following:

              • string
              • null
            • penalty
              required

              Any of the following:

              • Money
              • null
            • summary
              required

              Any of the following:

              • string
              • null
            • penaltyRange
              optional

              Any of the following:

              • object
                • currency
                  string
                  required
                  pattern: ^[A-Z]{3}$
                • maximumAmountMinor
                  integer
                  required
                  maximum: 9007199254740991 · minimum: 0
                • minimumAmountMinor
                  integer
                  required
                  maximum: 9007199254740991 · minimum: 0
              • null
      • ticketingDeadline
        optional

        Any of the following:

        • string
        • null
    • ItineraryLodgingSegment
      • id
        string
        required
      • type
        string
        required
      • checkinDate
        string
        required
      • checkoutDate
        string
        required
      • lodge
        object
        required
        • name
          string
          required
        • checkin
          optional

          Any of the following:

          • string
          • null
        • checkout
          optional

          Any of the following:

          • string
          • null
        • guests
          optional
          array of
          string
        • rooms
          optional

          Any of the following:

          • array<unknown>
            • adults
              optional
              number
            • amenities
              optional
              array of
              string
            • beds
              optional
              array of
              string
            • category
              optional

              Any of the following:

              • string
              • null
            • children
              optional

              Any of the following:

              • number
              • null
            • confirmationNumber
              optional

              Any of the following:

              • string
              • null
            • description
              optional

              Any of the following:

              • string
              • null
            • gdslocator
              optional

              Any of the following:

              • string
              • null
            • guests
              optional
              string
            • image
              optional

              Any of the following:

              • string
              • null
            • name
              optional

              Any of the following:

              • string
              • null
            • policies
              optional

              Any of the following:

              • object
                • breakfast
                  optional

                  Any of the following:

                  • string
                  • null
                • deadline
                  optional

                  Any of the following:

                  • string
                  • null
                • refund
                  optional

                  Any of the following:

                  • string
                  • null
                • summary
                  optional

                  Any of the following:

                  • string
                  • null
              • null
            • ratePlanCode
              optional

              Any of the following:

              • string
              • null
            • travelers
              optional
              array of
              string
          • null
        • stars
          optional
          number
        • status
          optional
          proposed
          or
          hold
          or
          booked
          or
          cancelled
      • 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

        Any of the following:

        • Location
        • 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
      • bookingOccupancy
        optional
        object
        • rooms
          array of
          object
          required
          • adults
            integer
            required
            maximum: 8 · minimum: 1
          • children
            integer
            required
            maximum: 6 · minimum: 0
          • childrenAges
            array of
            integer
            required
            maximum: 17 · minimum: 0
      • commercialSnapshot
        optional
        object

        Expected supplier commission, advisor earning and traveler reward, with their calculation inputs, as quoted. Answered only to the agency's own advisors and admins and to Nicer staff; absent for travelers and anonymous readers.

        • calculationInputs
          map of
          any of
          required
        • expectedAdvisorEarning
          required

          Any of the following:

          • object
            • amountMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • basis
              required

              Any of the following:

              • string
              • null
            • rateBps
              required

              Any of the following:

              • integer
              • null
          • null
        • expectedSupplierCommission
          required

          Any of the following:

          • object
            • amountMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • basis
              required

              Any of the following:

              • string
              • null
            • rateBps
              required

              Any of the following:

              • integer
              • null
          • null
        • expectedTravelerReward
          required

          Any of the following:

          • object
            • amountMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • basis
              required

              Any of the following:

              • string
              • null
            • rateBps
              required

              Any of the following:

              • integer
              • null
          • null
        • policyVersion
          string
          required
          minLength: 1
    • ItineraryCarRentalSegment
      • id
        string
        required
      • type
        string
        required
      • dropoff
        object
        required
        • 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
      • pickup
        object
        required
        • 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
      • 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

        Any of the following:

        • Location
        • 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
      • carType
        optional
        string
      • engine
        optional
        ELECTRIC
        or
        HYBRID
        or
        GASOLINE
        or
        DIESEL
      • insurance
        optional
        string
      • model
        optional
        string
      • transmission
        optional
        MANUAL
        or
        AUTOMATIC
    • ItineraryTransportationSegment
      • 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

        Any of the following:

        • Location
        • 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
      • arrivalDateTime
        optional
        string
      • arrivalLocation
        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
      • arrivalTimezone
        optional
        string
      • departureDateTime
        optional
        string
      • departureLocation
        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
      • departureTimezone
        optional
        string
      • guests
        optional
        number
      • transportationType
        optional
        ground_transportation
        or
        train
        or
        bus
        or
        automobile
    • ItineraryCruiseSegment
      • id
        string
        required
      • type
        string
        required
      • departureLocation
        object
        required
        • 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
      • 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

        Any of the following:

        • Location
        • 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
      • arrivalDateTime
        optional
        string
      • arrivalLocation
        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
      • arrivalTimezone
        optional
        string
      • departureDateTime
        optional
        string
      • departureTimezone
        optional
        string
      • status
        optional
        proposed
        or
        hold
        or
        booked
        or
        cancelled
      • stop
        optional
        array of
        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
      • suites
        optional
        array of
        object
        • adults
          optional

          Any of the following:

          • number
          • null
        • beds
          optional
          array of
          string
        • children
          optional

          Any of the following:

          • number
          • null
        • name
          optional

          Any of the following:

          • string
          • null
        • policies
          optional

          Any of the following:

          • object
            • breakfast
              optional

              Any of the following:

              • string
              • null
            • deadline
              optional

              Any of the following:

              • string
              • null
            • refund
              optional

              Any of the following:

              • string
              • null
          • null
        • travelers
          optional
          array of
          string
    • ItineraryActivitySegment
      • 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
    • ItineraryRestaurantSegment
      • 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

        Any of the following:

        • Location
        • 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
      • status
        optional
        proposed
        or
        hold
        or
        booked
        or
        cancelled
    • ItineraryCustomSegment
      • id
        string
        required
      • title
        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

        Any of the following:

        • Location
        • 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
      • updatedAt
        optional
        string

Returns

200

OK

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

Type to search…

↑↓ navigate↵ selectEsc close