Skip to content
Navigation

Save an offer as a booking selection

POST
https://api.nicer.travel/booking/selections

Re-validates a live search offer with the provider and stores it as a selection that stays bookable until bookableUntil (retained 30 days). Requires an authenticated company user and an Idempotency-Key; replaying the key with a different body returns 409 BOOKING_SELECTION_IDEMPOTENCY_CONFLICT, an expired or unknown offer returns 409 BOOKING_OFFER_UNAVAILABLE, and a Sabre offer with no DK to book with (the advisor has none and the agency has no default DK) returns 422 BOOKING_SABRE_DK_REQUIRED. Returns the selection id and a preview of product, price and payment terms; the preview carries the commercial snapshot (expected commission and earnings) only for the agency's advisors and admins and for Nicer staff, and leaves it out for travelers.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Header parameters

  • Idempotency-Key
    string
    required

    Unique key (8–255 chars) per request; replays return the original result.

  • x-nicer-company
    string
    required

    Company context. Authentication and tenant membership are validated by the API.

Request body JSON required

  • offerReference
    string
    required
    minLength: 1
  • itineraryItemId
    optional
    string
    minLength: 1
  • travelersTripId
    optional
    string
    minLength: 1

Returns

200

OK

JSON
  • bookableUntil
    string
    required
    format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
  • itineraryItemId
    required

    Any of the following:

    • string
    • null
  • offerExpiresAt
    required

    Any of the following:

    • string
    • null
  • preview
    object
    required
    • paymentTerms
      object
      required
      • acceptedCopy
        string
        required
        minLength: 1
      • amountDueAtProperty
        object
        required
        • amountMinor
          integer
          required
          maximum: 9007199254740991 · minimum: 0
        • currency
          string
          required
          pattern: ^[A-Z]{3}$
      • amountDueLater
        object
        required
        • amountMinor
          integer
          required
          maximum: 9007199254740991 · minimum: 0
        • currency
          string
          required
          pattern: ^[A-Z]{3}$
      • amountDueNow
        object
        required
        • amountMinor
          integer
          required
          maximum: 9007199254740991 · minimum: 0
        • currency
          string
          required
          pattern: ^[A-Z]{3}$
      • attemptPurpose
        NICER_CHARGE
        or
        PROVIDER_GUARANTEE
        or
        PROVIDER_PAYMENT
        required
      • cancellationPolicy
        required

        Any of the following:

        • QuotePolicy
          • 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
        • null
      • collectionMode
        GUARANTEE_ONLY
        or
        NICER_COLLECTS
        or
        PAY_AT_PROVIDER
        or
        PROVIDER_COLLECTS
        required
      • guaranteeRequired
        boolean
        required
      • holdAllowed
        boolean
        required

        Whether this checkout may request a hold. Flights require a confirmed airline deadline at least 12 hours away; eligibility is checked again when checkout is submitted.

      • holdExpiresAt
        required

        The confirmed supplier deadline, when known. For a requested flight hold, the customer's payment deadline is half the remaining airline window and is recorded on the submitted order.

        Any of the following:

        • string
        • null
      • kind
        DEPOSIT
        or
        GUARANTEE
        or
        HOLD
        or
        PAY_AT_PROPERTY
        or
        PAY_LATER
        or
        PAY_NOW
        required
      • paymentRoute
        NONE
        or
        PROVIDER_CARD
        or
        STRIPE
        required
    • priceSnapshot
      object
      required
      • 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
    • productSnapshot
      BookingProductSnapshot
      required

      One of the following:

      • HotelProductSnapshot
        • address
          required

          Any of the following:

          • string
          • null
        • amenities
          array of
          string
          required
          minLength: 1
        • chainName
          required

          Any of the following:

          • string
          • null
        • checkIn
          string
          required
          format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
        • checkOut
          string
          required
          format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
        • city
          required

          Any of the following:

          • string
          • null
        • countryCode
          required

          Any of the following:

          • CountryCode
          • null
        • description
          required

          Any of the following:

          • string
          • null
        • hotelReference
          string
          required
          minLength: 1
        • images
          array of
          object
          required
          • alt
            required

            Any of the following:

            • string
            • null
          • url
            string
            required
            format: uri
        • kind
          string
          required
        • latitude
          number
          required
          maximum: 90 · minimum: -90
        • longitude
          number
          required
          maximum: 180 · minimum: -180
        • name
          string
          required
          minLength: 1
        • policies
          array of
          object
          required
          • 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
        • productId
          string
          required
          minLength: 1
        • rooms
          array of
          object
          required
          • amenities
            array of
            string
            required
            minLength: 1
          • bedTypes
            array of
            string
            required
            minLength: 1
          • board
            required

            Any of the following:

            • string
            • null
          • description
            required

            Any of the following:

            • string
            • null
          • images
            array of
            object
            required
            • alt
              required

              Any of the following:

              • string
              • null
            • url
              string
              required
              format: uri
          • name
            string
            required
            minLength: 1
          • occupancy
            object
            required
            • adults
              integer
              required
              maximum: 8 · minimum: 1
            • childrenAges
              array of
              integer
              required
              maximum: 17 · minimum: 0
          • ratePlanName
            required

            Any of the following:

            • string
            • null
          • rateId
            string
            required
            minLength: 1
          • refundable
            required

            Any of the following:

            • boolean
            • null
          • roomId
            string
            required
            minLength: 1
          • roomNumber
            integer
            required
            maximum: 8
          • bookingRequirements
            optional
            object
            • membership
              required

              Any of the following:

              • object
                • chainCode
                  required

                  Any of the following:

                  • string
                  • null
                • programName
                  required

                  Any of the following:

                  • string
                  • null
              • null
            • acceptedCardCodes
              required

              Any of the following:

              • array<string>
              • null
            • guaranteeType
              GUAR
              or
              DEP
              or
              LATE
              or
              NONE
              or
              UNKNOWN
              required
            • unsupportedReason
              required

              Any of the following:

              • string
                MEMBERSHIP_CHAIN_UNKNOWN
              • null
            • loyaltyProgram
              optional

              Any of the following:

              • object
                • chainCode
                  string
                  required
                  pattern: ^[A-Z0-9]{2}$
                • programName
                  required

                  Any of the following:

                  • string
                  • null
              • null
          • category
            optional

            Any of the following:

            • string
            • null
          • ratePlanClientId
            optional

            Any of the following:

            • string
            • null
          • ratePlanCode
            optional

            Any of the following:

            • string
            • null
        • starRating
          required

          Any of the following:

          • number
          • null
      • FlightProductSnapshot
        • capabilities
          object
          required
          • ancillaries
            AVAILABLE
            or
            NOT_REQUESTED
            or
            NOT_SUPPORTED
            required
          • seats
            AVAILABLE
            or
            NOT_REQUESTED
            or
            NOT_SUPPORTED
            required
        • kind
          string
          required
        • fareRules
          array of
          object
          required
          • 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
        • owner
          object
          required
          • 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
        • policies
          array of
          object
          required
          • 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
        • productId
          string
          required
          minLength: 1
        • slices
          array of
          object
          required
          • durationMinutes
            integer
            required
            maximum: 9007199254740991
          • legs
            array of
            object
            required
            • aircraft
              required

              Any of the following:

              • object
                • code
                  string
                  required
                  minLength: 1
                • name
                  required

                  Any of the following:

                  • string
                  • null
              • null
            • arrival
              object
              required
              • 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
              • at
                string
                required
                format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
              • localDateTime
                string
                required
                pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
              • terminal
                required

                Any of the following:

                • string
                • null
              • utcOffset
                required

                Any of the following:

                • string
                • null
            • baggage
              array of
              object
              required
              • 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
              required

              Any of the following:

              • string
              • null
            • cabin
              BUSINESS
              or
              ECONOMY
              or
              FIRST
              or
              PREMIUM_ECONOMY
              required
            • departure
              object
              required
              • 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
              • at
                string
                required
                format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
              • localDateTime
                string
                required
                pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
              • terminal
                required

                Any of the following:

                • string
                • null
              • utcOffset
                required

                Any of the following:

                • string
                • null
            • durationMinutes
              integer
              required
              maximum: 9007199254740991
            • fareBasisCode
              required

              Any of the following:

              • string
              • null
            • hiddenStops
              array of
              object
              required
              • 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
              string
              required
              minLength: 1
            • marketingCarrier
              object
              required
              • 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
            • marketingFlightNumber
              string
              required
              minLength: 1
            • operatingCarrier
              required

              Any of the following:

              • FlightCarrierSnapshot
              • null
            • operatingFlightNumber
              required

              Any of the following:

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

                Any of the following:

                • Money
                • null
              • seatId
                string
                required
                minLength: 1
              • seatNumber
                string
                required
                minLength: 1
            • services
              array of
              object
              required
              • 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
            • brand
              optional

              Any of the following:

              • object
                • code
                  string
                  required
                  minLength: 1
                • name
                  string
                  required
                  minLength: 1
              • null
          • sliceId
            string
            required
            minLength: 1
        • ticketingDeadline
          required

          Any of the following:

          • string
          • null
        • 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
        • 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
        • validatingCarriers
          optional
          array of
          object

          Every airline that may issue this fare's ticket, the default (owner) first. Present only when there is more than one; checkout takes the chosen code as validatingCarrier.

          • 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
        • 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
      • CarRentalProductSnapshot
        • category
          string
          required
          minLength: 1
        • dropOffAt
          string
          required
          format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
        • dropOffLocation
          object
          required
          • address
            required

            Any of the following:

            • string
            • null
          • airportCode
            required

            Any of the following:

            • AirportCode
            • null
          • latitude
            required

            Any of the following:

            • number
            • null
          • longitude
            required

            Any of the following:

            • number
            • null
          • name
            string
            required
            minLength: 1
          • localDateTime
            optional
            string
            pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
          • timeZone
            optional

            Any of the following:

            • string
            • null
          • utcOffset
            optional

            Any of the following:

            • string
            • null
        • images
          array of
          object
          required
          • alt
            required

            Any of the following:

            • string
            • null
          • url
            string
            required
            format: uri
        • inclusions
          array of
          string
          required
          minLength: 1
        • kind
          string
          required
        • name
          string
          required
          minLength: 1
        • pickUpAt
          string
          required
          format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
        • pickUpLocation
          object
          required
          • address
            required

            Any of the following:

            • string
            • null
          • airportCode
            required

            Any of the following:

            • AirportCode
            • null
          • latitude
            required

            Any of the following:

            • number
            • null
          • longitude
            required

            Any of the following:

            • number
            • null
          • name
            string
            required
            minLength: 1
          • localDateTime
            optional
            string
            pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$
          • timeZone
            optional

            Any of the following:

            • string
            • null
          • utcOffset
            optional

            Any of the following:

            • string
            • null
        • policies
          array of
          object
          required
          • 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
        • productId
          string
          required
          minLength: 1
        • selectedExtras
          array of
          object
          required
          • name
            string
            required
            minLength: 1
          • price
            required

            Any of the following:

            • Money
            • null
          • serviceId
            string
            required
            minLength: 1
        • supplierName
          string
          required
          minLength: 1
        • paymentPolicy
          optional
          object
          • kind
            PAY_AT_LOCATION
            or
            PREPAID
            or
            UNKNOWN
            required
          • summary
            required

            Any of the following:

            • string
            • null
          • timing
            required

            Any of the following:

            • string
              PICKUP
              or
              RETURN
            • null
        • charges
          optional
          array of
          object
          • amountMinor
            integer
            required
            maximum: 9007199254740991 · minimum: 0
          • currency
            string
            required
            pattern: ^[A-Z]{3}$
          • chargeType
            string
            required
            minLength: 1
          • extraMileageCharge
            required

            Any of the following:

            • string
            • null
          • mileageAllowance
            required

            Any of the following:

            • string
            • null
          • unitOfMeasure
            required

            Any of the following:

            • string
            • null
        • specifications
          optional
          object
          • bodyType
            required

            Any of the following:

            • string
            • null
          • doors
            required

            Any of the following:

            • integer
            • null
          • driveWheelConfiguration
            required

            Any of the following:

            • string
            • null
          • fuelType
            required

            Any of the following:

            • string
            • null
          • largeBags
            required

            Any of the following:

            • integer
            • null
          • seatBelts
            required

            Any of the following:

            • integer
            • null
          • smallBags
            required

            Any of the following:

            • integer
            • null
          • transmission
            required

            Any of the following:

            • string
            • null
          • vehicleType
            required

            Any of the following:

            • string
            • null
      • InsuranceProductSnapshot
        • description
          required

          Any of the following:

          • string
          • null
        • effectiveDate
          string
          required
          format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
        • exclusions
          array of
          string
          required
          minLength: 1
        • expirationDate
          string
          required
          format: date · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
        • insuredItems
          array of
          object
          required
          • amount
            object
            required
            • amountMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
          • reference
            string
            required
            minLength: 1
          • title
            string
            required
            minLength: 1
        • kind
          string
          required
        • planName
          string
          required
          minLength: 1
        • policies
          array of
          object
          required
          • 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
        • productId
          string
          required
          minLength: 1
        • selectedCoverages
          array of
          object
          required
          • coverageId
            string
            required
            minLength: 1
          • description
            required

            Any of the following:

            • string
            • null
          • name
            string
            required
            minLength: 1
          • price
            required

            Any of the following:

            • Money
            • null
    • commercialSnapshot
      optional
      object

      Expected supplier commission, advisor earning and traveler reward, with their calculation inputs. Present only for the agency's advisors and admins and for Nicer staff; absent for travelers.

      • 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
  • selectionId
    string
    required
    minLength: 1
  • travelersTripId
    required

    Any of the following:

    • string
    • null

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