Skip to content
Navigation

Get an order in the back office

GET
https://api.nicer.travel/backoffice/orders/{orderId}

Returns everything Commerce knows about one order: its row (as the order list has it), the people on it (name, email, nationality and role; never documents or birth dates), its flight legs as the provider holds them now, its issued documents, the service as the provider recorded it, the latest successful read of the reservation, its timeline (newest first, at most 500 entries) and the reference exchange rates. The agency is named by the x-nicer-company header and nothing else: Nicer staff who name none reach any order; with an agency named, staff and its admins reach that agency's orders only. An agency admin may name only an agency they administer, and may leave the header out when they administer one. For an agency admin the server leaves out providerKey and the timeline entries of kind PAYMENT_EVENT and PROVIDER. Errors: 404 ERROR_ITEM_NOT_FOUND for an order that does not exist or belongs to another agency; 400 ERROR_COMPANY_REQUIRED for an admin of several agencies who names none; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is neither Nicer staff nor an admin of the agency named.

Authorization

  • bearerAuth
    HTTP Bearer (JWT)
    required

    Authorization: Bearer <token>

Path parameters

  • orderId
    string
    required

Header parameters

  • x-nicer-company
    optional
    string

    Company context for an agency admin who belongs to several companies. Optional when the caller belongs to one.

Returns

200

OK

JSON
  • documents
    array of
    object
    required

    The order's issued documents, oldest first.

    • documentReference
      required

      Where the issued document itself is kept (a policy's PDF), when the provider handed one back.

      Any of the following:

      • string
      • null
    • externalReference
      string
      required

      The document's number: the ticket number, the hotel confirmation, the policy number or the voucher reference.

      minLength: 1
    • issuedAt
      required

      When the document was issued; null until then.

      Any of the following:

      • string
      • null
    • kind
      TICKET
      or
      HOTEL_CONFIRMATION
      or
      POLICY
      or
      VOUCHER
      required

      What the document is.

    • participantId
      required

      The participant the document belongs to, for a ticket.

      Any of the following:

      • string
      • null
    • status
      ISSUED
      or
      PARTIALLY_VOIDED
      or
      VOIDED
      or
      REFUNDED
      required

      Where an issued document stands: ISSUED, PARTIALLY_VOIDED, VOIDED or REFUNDED.

  • exchangeRates
    required

    The latest stored reference exchange rates, to show amounts in another currency; null when they cannot be read. Never the rate a payment used.

    Any of the following:

    • ExchangeRateSnapshot
      • source
        string
        required
      • updatedAt
        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))$
      • rates
        map of
        number
        required
    • null
  • legs
    array of
    object
    required

    The flight legs as the provider holds them now, in order; empty for other products.

    • aircraftCode
      required

      Any of the following:

      • string
      • null
    • arrivalAt
      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))$
    • arrivalTerminal
      required

      Any of the following:

      • string
      • null
    • companyName
      string
      required
      minLength: 1
    • currentVersion
      integer
      required
      maximum: 9007199254740991
    • departureAt
      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))$
    • departureTerminal
      required

      Any of the following:

      • string
      • null
    • destinationAirport
      string
      required
      pattern: ^[A-Z]{3}$
    • legId
      string
      required
      minLength: 1
    • marketingCarrierCode
      string
      required
      pattern: ^[A-Z0-9]{2,3}$
    • marketingFlightNumber
      string
      required
      minLength: 1
    • operatingCarrierCode
      required

      Any of the following:

      • CarrierCode
      • null
    • operatingFlightNumber
      required

      Any of the following:

      • string
      • null
    • orderId
      string
      required
      minLength: 1
    • originAirport
      string
      required
      pattern: ^[A-Z]{3}$
    • sequence
      integer
      required
      maximum: 9007199254740991 · minimum: 0
    • status
      string
      required
      minLength: 1
    • bookingClass
      required

      The leg's booking class, when the provider reported it.

      Any of the following:

      • string
      • null
    • cabin
      required

      The leg's cabin, when the provider reported it.

      Any of the following:

      • string
      • null
  • order
    object
    required

    An order as the back office lists it: what it sells, to whom, for how much, and where its reservation, payment and documents stand.

    • advisorUserId
      required

      The advisor credited with the order: the one assigned to it, else the one who booked it or whose provider profile it came in on; null when no advisor is credited.

      Any of the following:

      • string
      • null
    • bookingOrigin
      NICER
      or
      EXTERNAL
      or
      UNKNOWN
      required

      NICER when the booking was made through Nicer, EXTERNAL when it was made elsewhere and recorded, UNKNOWN when the provider did not say.

    • committedAt
      required

      When the order left DRAFT and became a booking; null before.

      Any of the following:

      • string
      • null
    • companyName
      string
      required

      The agency the order belongs to.

      minLength: 1
    • createdAt
      string
      required

      When the order was created.

      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))$
    • createdByUserId
      required

      The user id of who created the order, when one did.

      Any of the following:

      • string
      • null
    • currency
      required

      The currency of every amount on the row; null when the order carries no amount.

      Any of the following:

      • CurrencyCode
      • null
    • dueAtPropertyMinor
      required

      The part of the total paid at the property, in minor units; null for an order recorded from a provider.

      Any of the following:

      • integer
      • null
    • dueLaterMinor
      required

      The part of the total charged later, in minor units; null for an order recorded from a provider.

      Any of the following:

      • integer
      • null
    • dueNowMinor
      required

      The part of the total charged at checkout, in minor units; null for an order recorded from a provider.

      Any of the following:

      • integer
      • null
    • entryMethod
      CHECKOUT
      or
      IMPORT
      or
      MANUAL
      required

      CHECKOUT when Nicer sold the order, and every amount is present; IMPORT or MANUAL when it was recorded from a provider.

    • expiresAt
      required

      When an unpaid checkout lapses; null for an order recorded from a provider.

      Any of the following:

      • string
      • null
    • fulfillmentState
      NOT_STARTED
      or
      PENDING_ISSUANCE
      or
      PARTIALLY_ISSUED
      or
      ISSUED
      or
      FAILED
      or
      UNKNOWN
      required

      Where the order's documents (tickets, confirmations, policies, vouchers) stand.

    • hotelReference
      required

      Nicer's reference for the property of a lodging order; null for other products.

      Any of the following:

      • string
      • null
    • itineraryItemId
      required

      The itinerary item the order was booked from, if any.

      Any of the following:

      • string
      • null
    • orderId
      string
      required

      The order's id.

      minLength: 1
    • payerEmail
      required

      The payer's email, lower-cased, when the order has one.

      Any of the following:

      • string
      • null
    • payerUserId
      required

      The payer's user id, when the payer has an account.

      Any of the following:

      • string
      • null
    • paymentState
      string
      ·
      one of 11 values
      required

      Where the traveler's payment stands.

      Allowed values: NOT_STARTED, AWAITING_METHOD, REQUIRES_ACTION, PROCESSING, AUTHORIZED, SUCCEEDED, DECLINED, CANCELLED, PARTIALLY_REFUNDED, REFUNDED, UNKNOWN
    • productName
      required

      The order's label: the route for a flight (origin → destination, each pair once, joined by ' · '), else the product or property name as recorded or sold.

      Any of the following:

      • string
      • null
    • productType
      PLANNING_FEE
      or
      EXTRA_PAYMENT
      or
      HOTEL
      or
      FLIGHT
      or
      INSURANCE
      or
      CAR_RENTAL
      required

      What the order sells.

    • providerLocator
      required

      The booking's locator at the provider (the Booking ID of a flight), once it exists.

      Any of the following:

      • string
      • null
    • reservationState
      string
      ·
      one of 8 values
      required

      Where the reservation at the provider stands.

      Allowed values: NOT_STARTED, HOLDING, HELD, CONFIRMED, CANCELLATION_PROCESSING, CANCELLED, EXPIRED, UNKNOWN
    • status
      string
      ·
      one of 12 values
      required

      The order's overall status.

      Allowed values: DRAFT, AWAITING_PAYMENT, HOLDING, HELD, PAYMENT_PROCESSING, TICKETING, BOOKED, CANCELLATION_PROCESSING, CANCELLED, EXPIRED, NEEDS_ATTENTION, FAILED
    • supplierConfirmation
      required

      The supplier's own confirmation, as recorded from the provider; null when none was recorded.

      Any of the following:

      • string
      • null
    • totalMinor
      required

      The order's total, in minor units; null when the order carries no amount.

      Any of the following:

      • integer
      • null
    • travelDates
      object
      required

      The first and last travel moment: the recorded service's dates, else the hotel's check-in and check-out, else the first departure and last arrival of a flight. A day (YYYY-MM-DD) or an ISO 8601 date-time; null when unknown.

      • end
        required

        Any of the following:

        • string
        • null
      • start
        required

        Any of the following:

        • string
        • null
    • travelerCount
      integer
      required

      How many participants of the order travel (role TRAVELER).

      maximum: 9007199254740991 · minimum: 0
    • travelerNames
      array of
      string
      required

      The names of the order's travelers (role TRAVELER), in the order's slot order. A traveler without a name is left out.

      minLength: 1
    • travelersTripId
      required

      The trip the order belongs to, if any.

      Any of the following:

      • string
      • null
    • updatedAt
      string
      required

      When the order last changed.

      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))$
    • hotel
      optional
      object

      The property facts sold with the order. Present on lodging (HOTEL) orders only.

      • address
        required

        The property's address, as sold.

        Any of the following:

        • string
        • null
      • chainName
        required

        The hotel chain, when the property belongs to one.

        Any of the following:

        • string
        • null
      • checkIn
        required

        The check-in day.

        Any of the following:

        • string
        • null
      • checkOut
        required

        The check-out day.

        Any of the following:

        • string
        • null
      • city
        required

        The property's city.

        Any of the following:

        • string
        • null
      • countryCode
        required

        The property's country, ISO 3166-1 alpha-2.

        Any of the following:

        • CountryCode
        • null
      • imageUrl
        required

        The property's first photo.

        Any of the following:

        • string
        • null
      • starRating
        required

        The property's star rating, 0 to 5.

        Any of the following:

        • number
        • null
    • providerKey
      optional
      string

      The provider the order was booked with. Nicer staff only: left out for an agency admin.

  • participants
    array of
    object
    required

    The people on the order, in slot order.

    • displayName
      required

      The person's name as the order shows it.

      Any of the following:

      • string
      • null
    • email
      required

      The person's email, lower-cased, when the order has one.

      Any of the following:

      • string
      • null
    • nationalityCountryCode
      required

      The person's nationality, ISO 3166-1 alpha-2, when it was collected.

      Any of the following:

      • CountryCode
      • null
    • participantId
      string
      required

      The participant's id on the order; a document's participantId points at it.

      minLength: 1
    • role
      DRIVER
      or
      GUEST
      or
      INSURED
      or
      PAYER
      or
      TRAVELER
      required

      How the person takes part.

    • sequence
      integer
      required

      The participant's slot on the order, from 0.

      maximum: 9007199254740991 · minimum: 0
    • userId
      required

      The person's user id, when they have an account.

      Any of the following:

      • string
      • null
  • providerObservation
    required

    The latest successful read of the reservation at the provider, projected to this order's service; null when the order has none.

    Any of the following:

    • object
      • observedAt
        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))$
      • recordedAt
        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))$
      • normalizationVersion
        integer
        required
        maximum: 9007199254740991
      • evidence
        object
        required
        • version
          number
          required
        • contacts
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • givenName
            optional
            string
            maxLength: 255 · minLength: 1
          • middleName
            optional
            string
            maxLength: 255 · minLength: 1
          • surname
            optional
            string
            maxLength: 255 · minLength: 1
          • displayName
            optional
            string
            maxLength: 255 · minLength: 1
          • address
            optional
            object
            • city
              optional
              string
              maxLength: 255 · minLength: 1
            • cityCode
              optional
              string
              maxLength: 255 · minLength: 1
            • countryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
            • postalCode
              optional
              string
              maxLength: 255 · minLength: 1
            • stateProvince
              optional
              string
              maxLength: 255 · minLength: 1
            • street
              optional
              string
              maxLength: 255 · minLength: 1
            • lines
              optional
              array of
              string
              maxLength: 255 · minLength: 1
          • emails
            optional
            array of
            string
            maxLength: 320 · minLength: 1
          • phones
            optional
            array of
            object
            • number
              string
              required
              maxLength: 255 · minLength: 1
            • label
              optional
              string
              maxLength: 255 · minLength: 1
          • faxes
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • emergencyPhones
            optional
            array of
            object
            • number
              string
              required
              maxLength: 255 · minLength: 1
            • label
              optional
              string
              maxLength: 255 · minLength: 1
        • profiles
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • type
            optional
            string
            maxLength: 255 · minLength: 1
        • travelers
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • givenName
            optional
            string
            maxLength: 255 · minLength: 1
          • middleName
            optional
            string
            maxLength: 255 · minLength: 1
          • surname
            optional
            string
            maxLength: 255 · minLength: 1
          • displayName
            optional
            string
            maxLength: 255 · minLength: 1
          • address
            optional
            object
            • city
              optional
              string
              maxLength: 255 · minLength: 1
            • cityCode
              optional
              string
              maxLength: 255 · minLength: 1
            • countryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
            • postalCode
              optional
              string
              maxLength: 255 · minLength: 1
            • stateProvince
              optional
              string
              maxLength: 255 · minLength: 1
            • street
              optional
              string
              maxLength: 255 · minLength: 1
            • lines
              optional
              array of
              string
              maxLength: 255 · minLength: 1
          • emails
            optional
            array of
            string
            maxLength: 320 · minLength: 1
          • phones
            optional
            array of
            object
            • number
              string
              required
              maxLength: 255 · minLength: 1
            • label
              optional
              string
              maxLength: 255 · minLength: 1
          • faxes
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • emergencyPhones
            optional
            array of
            object
            • number
              string
              required
              maxLength: 255 · minLength: 1
            • label
              optional
              string
              maxLength: 255 · minLength: 1
          • sourceReference
            optional
            string
            maxLength: 255 · minLength: 1
          • nameReference
            optional
            string
            maxLength: 255 · minLength: 1
          • passengerType
            optional
            string
            maxLength: 255 · minLength: 1
          • birthDate
            optional
            string
            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])))$
          • gender
            optional
            string
            maxLength: 255 · minLength: 1
          • guaranteeReferences
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • unresolvedPaymentMethodIndices
            optional
            array of
            integer
            maximum: 9007199254740991 · minimum: 0
          • loyaltyPrograms
            optional
            array of
            object
            • number
              string
              required
              maxLength: 255 · minLength: 1
            • receiverCode
              optional
              string
              maxLength: 255 · minLength: 1
            • supplierCode
              optional
              string
              maxLength: 255 · minLength: 1
            • tier
              optional
              string
              maxLength: 255 · minLength: 1
            • type
              optional
              string
              maxLength: 255 · minLength: 1
          • identityDocuments
            optional
            array of
            object
            • reference
              optional
              string
              maxLength: 255 · minLength: 1
            • type
              optional
              string
              maxLength: 255 · minLength: 1
            • number
              optional
              string
              maxLength: 255 · minLength: 1
            • issuedOn
              optional
              string
              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])))$
            • expiresOn
              optional
              string
              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])))$
            • issuingCountryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • citizenshipCountryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • residenceCountryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • hostCountryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • placeOfIssue
              optional
              string
              maxLength: 255 · minLength: 1
            • visaType
              optional
              string
              maxLength: 255 · minLength: 1
            • passportType
              optional
              string
              maxLength: 255 · minLength: 1
            • primaryHolder
              optional
              boolean
            • givenName
              optional
              string
              maxLength: 255 · minLength: 1
            • middleName
              optional
              string
              maxLength: 255 · minLength: 1
            • surname
              optional
              string
              maxLength: 255 · minLength: 1
            • birthDate
              optional
              string
              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])))$
            • gender
              optional
              string
              maxLength: 255 · minLength: 1
            • destinationAddress
              optional
              object
              • city
                optional
                string
                maxLength: 255 · minLength: 1
              • cityCode
                optional
                string
                maxLength: 255 · minLength: 1
              • countryCode
                optional
                string
                maxLength: 255 · minLength: 1
              • name
                optional
                string
                maxLength: 255 · minLength: 1
              • postalCode
                optional
                string
                maxLength: 255 · minLength: 1
              • stateProvince
                optional
                string
                maxLength: 255 · minLength: 1
              • street
                optional
                string
                maxLength: 255 · minLength: 1
              • lines
                optional
                array of
                string
                maxLength: 255 · minLength: 1
        • fares
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • status
            optional
            object
            • state
              string
              ·
              one of 10 values
              required
              Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
              default: "UNKNOWN"
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
          • supplierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • typeCode
            optional
            string
            maxLength: 255 · minLength: 1
          • typeName
            optional
            string
            maxLength: 255 · minLength: 1
          • recordTypeCode
            optional
            string
            maxLength: 255 · minLength: 1
          • recordTypeName
            optional
            string
            maxLength: 255 · minLength: 1
          • pricedTravelerType
            optional
            string
            maxLength: 255 · minLength: 1
          • requestedTravelerType
            optional
            string
            maxLength: 255 · minLength: 1
          • createdAt
            optional
            ReservationTimestamp

            Any of the following:

            • string
            • object
              • date
                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])))$
              • time
                optional
                string
                pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
              • timeZone
                optional
                string
                maxLength: 255 · minLength: 1
          • purchaseDeadline
            optional
            ReservationTimestamp

            Any of the following:

            • string
            • object
              • date
                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])))$
              • time
                optional
                string
                pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
              • timeZone
                optional
                string
                maxLength: 255 · minLength: 1
          • issuer
            optional
            object
            • supplierCode
              optional
              string
              maxLength: 255 · minLength: 1
            • officeId
              optional
              string
              maxLength: 255 · minLength: 1
            • homeOfficeId
              optional
              string
              maxLength: 255 · minLength: 1
            • userCode
              optional
              string
              maxLength: 255 · minLength: 1
            • agencyIataNumber
              optional
              string
              maxLength: 255 · minLength: 1
          • validPricing
            optional
            boolean
          • negotiated
            optional
            boolean
          • money
            optional
            object
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • feesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • subtotalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • taxesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • totalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
          • originalMoney
            optional
            object
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • feesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • subtotalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • taxesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • totalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
          • taxes
            optional
            array of
            object
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • unconvertedAmount
              optional
              string
              maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
          • commission
            optional
            object
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • unconvertedAmount
              optional
              string
              maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
            • percentage
              optional
              string
              maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
            • text
              optional
              string
              maxLength: 255 · minLength: 1
          • calculationLine
            optional
            string
            maxLength: 2000 · minLength: 1
          • tourCode
            optional
            string
            maxLength: 255 · minLength: 1
          • components
            optional
            array of
            object
            • scope
              object
              required
              • travelerReferences
                array of
                string
                required
                maxLength: 255 · minLength: 1 · default: []
              • segmentReferences
                array of
                string
                required
                maxLength: 255 · minLength: 1 · default: []
              • serviceReferences
                array of
                string
                required
                maxLength: 255 · minLength: 1 · default: []
              • unresolvedTravelerIndices
                array of
                integer
                required
                maximum: 9007199254740991 · minimum: 0 · default: []
              • unresolvedSegmentIndices
                array of
                integer
                required
                maximum: 9007199254740991 · minimum: 0 · default: []
            • reference
              optional
              string
              maxLength: 255 · minLength: 1
            • fareBasis
              optional
              string
              maxLength: 255 · minLength: 1
            • accountCode
              optional
              string
              maxLength: 255 · minLength: 1
            • brandCode
              optional
              string
              maxLength: 255 · minLength: 1
            • brandName
              optional
              string
              maxLength: 255 · minLength: 1
            • programCode
              optional
              string
              maxLength: 255 · minLength: 1
            • programName
              optional
              string
              maxLength: 255 · minLength: 1
            • brandAttributes
              optional
              array of
              string
              maxLength: 2000 · minLength: 1
            • currentItinerary
              optional
              boolean
            • baseAmount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • checkedBaggage
              optional
              object
              • maximumPieces
                optional
                integer
                maximum: 9007199254740991 · minimum: 0
              • totalWeightKilograms
                optional
                number
                minimum: 0
              • pieces
                optional
                array of
                object
                • pieces
                  optional
                  integer
                  maximum: 9007199254740991 · minimum: 0
                • maximumWeightKilograms
                  optional
                  number
                  minimum: 0
                • maximumWeightPounds
                  optional
                  number
                  minimum: 0
                • maximumSizeCentimeters
                  optional
                  number
                  minimum: 0
                • maximumSizeInches
                  optional
                  number
                  minimum: 0
                • description
                  optional
                  string
                  maxLength: 2000 · minLength: 1
          • bundledServices
            optional
            array of
            object
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • type
              optional
              string
              maxLength: 255 · minLength: 1
            • description
              optional
              string
              maxLength: 2000 · minLength: 1
            • quantity
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
        • fareRules
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • supplierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • passengerType
            optional
            string
            maxLength: 255 · minLength: 1
          • origin
            optional
            string
            maxLength: 255 · minLength: 1
          • destination
            optional
            string
            maxLength: 255 · minLength: 1
          • cancelable
            optional
            boolean
          • changeable
            optional
            boolean
          • refundable
            optional
            boolean
          • exchangePenalties
            optional
            array of
            object
            • applicability
              optional
              string
              maxLength: 255 · minLength: 1
            • conditionsApply
              optional
              boolean
            • hasNoShowCost
              optional
              boolean
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • noShowAmount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
          • refundPenalties
            optional
            array of
            object
            • applicability
              optional
              string
              maxLength: 255 · minLength: 1
            • conditionsApply
              optional
              boolean
            • hasNoShowCost
              optional
              boolean
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • noShowAmount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
        • documents
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • kind
            ELECTRONIC_TICKET
            or
            NON_ELECTRONIC_TICKET
            or
            ANCILLARY_DOCUMENT
            or
            OTHER
            required
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • number
            optional
            string
            maxLength: 255 · minLength: 1
          • status
            optional
            object
            • state
              string
              ·
              one of 10 values
              required
              Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
              default: "UNKNOWN"
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
          • issuedAt
            optional
            ReservationTimestamp

            Any of the following:

            • string
            • object
              • date
                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])))$
              • time
                optional
                string
                pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
              • timeZone
                optional
                string
                maxLength: 255 · minLength: 1
          • issuer
            optional
            object
            • supplierCode
              optional
              string
              maxLength: 255 · minLength: 1
            • officeId
              optional
              string
              maxLength: 255 · minLength: 1
            • homeOfficeId
              optional
              string
              maxLength: 255 · minLength: 1
            • userCode
              optional
              string
              maxLength: 255 · minLength: 1
            • agencyIataNumber
              optional
              string
              maxLength: 255 · minLength: 1
          • bundled
            optional
            boolean
          • money
            optional
            object
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • feesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • subtotalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • taxesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • totalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
          • commission
            optional
            object
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • unconvertedAmount
              optional
              string
              maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
            • percentage
              optional
              string
              maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
            • text
              optional
              string
              maxLength: 255 · minLength: 1
          • coupons
            optional
            array of
            object
            • reference
              optional
              string
              maxLength: 255 · minLength: 1
            • segmentReference
              optional
              string
              maxLength: 255 · minLength: 1
            • number
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • status
              optional
              object
              • state
                string
                ·
                one of 10 values
                required
                Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
                default: "UNKNOWN"
              • code
                optional
                string
                maxLength: 255 · minLength: 1
              • name
                optional
                string
                maxLength: 255 · minLength: 1
        • ancillaries
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • supplierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • vendorCode
            optional
            string
            maxLength: 255 · minLength: 1
          • name
            optional
            string
            maxLength: 255 · minLength: 1
          • code
            optional
            string
            maxLength: 255 · minLength: 1
          • subcode
            optional
            string
            maxLength: 255 · minLength: 1
          • categoryCode
            optional
            string
            maxLength: 255 · minLength: 1
          • categoryName
            optional
            string
            maxLength: 255 · minLength: 1
          • status
            optional
            object
            • state
              string
              ·
              one of 10 values
              required
              Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
              default: "UNKNOWN"
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
          • applicability
            optional
            string
            maxLength: 255 · minLength: 1
          • source
            optional
            string
            maxLength: 255 · minLength: 1
          • quantity
            optional
            integer
            maximum: 9007199254740991 · minimum: 0
          • documentReference
            optional
            string
            maxLength: 255 · minLength: 1
          • refundable
            optional
            boolean
          • commissionable
            optional
            boolean
          • money
            optional
            object
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • feesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • subtotalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • taxesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • totalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
          • taxes
            optional
            array of
            object
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • unconvertedAmount
              optional
              string
              maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
        • seats
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • number
            string
            required
            maxLength: 255 · minLength: 1
          • status
            optional
            object
            • state
              string
              ·
              one of 10 values
              required
              Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
              default: "UNKNOWN"
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
          • characteristics
            optional
            array of
            string
            maxLength: 255 · minLength: 1
        • meals
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • code
            optional
            string
            maxLength: 255 · minLength: 1
          • description
            optional
            string
            maxLength: 2000 · minLength: 1
        • segments
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • kind
            string
            required
          • sourceType
            optional
            string
            maxLength: 255 · minLength: 1
          • createdAt
            optional
            ReservationTimestamp

            Any of the following:

            • string
            • object
              • date
                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])))$
              • time
                optional
                string
                pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
              • timeZone
                optional
                string
                maxLength: 255 · minLength: 1
          • status
            optional
            object
            • state
              string
              ·
              one of 10 values
              required
              Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
              default: "UNKNOWN"
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
          • supplierConfirmation
            optional
            string
            maxLength: 255 · minLength: 1
          • past
            optional
            boolean
          • departure
            optional
            object
            • airportCode
              optional
              string
              maxLength: 255 · minLength: 1
            • scheduledAt
              optional
              ReservationTimestamp

              Any of the following:

              • string
              • object
                • date
                  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])))$
                • time
                  optional
                  string
                  pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
                • timeZone
                  optional
                  string
                  maxLength: 255 · minLength: 1
            • updatedAt
              optional
              ReservationTimestamp

              Any of the following:

              • string
              • object
                • date
                  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])))$
                • time
                  optional
                  string
                  pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
                • timeZone
                  optional
                  string
                  maxLength: 255 · minLength: 1
            • terminalCode
              optional
              string
              maxLength: 255 · minLength: 1
            • terminalName
              optional
              string
              maxLength: 255 · minLength: 1
            • gate
              optional
              string
              maxLength: 255 · minLength: 1
          • arrival
            optional
            object
            • airportCode
              optional
              string
              maxLength: 255 · minLength: 1
            • scheduledAt
              optional
              ReservationTimestamp

              Any of the following:

              • string
              • object
                • date
                  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])))$
                • time
                  optional
                  string
                  pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
                • timeZone
                  optional
                  string
                  maxLength: 255 · minLength: 1
            • updatedAt
              optional
              ReservationTimestamp

              Any of the following:

              • string
              • object
                • date
                  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])))$
                • time
                  optional
                  string
                  pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
                • timeZone
                  optional
                  string
                  maxLength: 255 · minLength: 1
            • terminalCode
              optional
              string
              maxLength: 255 · minLength: 1
            • terminalName
              optional
              string
              maxLength: 255 · minLength: 1
            • gate
              optional
              string
              maxLength: 255 · minLength: 1
          • aircraftCode
            optional
            string
            maxLength: 255 · minLength: 1
          • aircraftName
            optional
            string
            maxLength: 255 · minLength: 1
          • marketingCarrierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • marketingCarrierName
            optional
            string
            maxLength: 255 · minLength: 1
          • marketingFlightNumber
            optional
            string
            maxLength: 255 · minLength: 1
          • operatingCarrierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • operatingCarrierName
            optional
            string
            maxLength: 255 · minLength: 1
          • operatingFlightNumber
            optional
            string
            maxLength: 255 · minLength: 1
          • cabinCode
            optional
            string
            maxLength: 255 · minLength: 1
          • cabinName
            optional
            string
            maxLength: 255 · minLength: 1
          • bookingClass
            optional
            string
            maxLength: 255 · minLength: 1
          • fareBasis
            optional
            string
            maxLength: 255 · minLength: 1
          • seats
            optional
            integer
            maximum: 9007199254740991 · minimum: 0
          • distanceMiles
            optional
            number
            minimum: 0
          • durationMinutes
            optional
            number
            minimum: 0
          • hiddenStops
            optional
            array of
            object
            • airportCode
              optional
              string
              maxLength: 255 · minLength: 1
            • arrivalAt
              optional
              ReservationTimestamp

              Any of the following:

              • string
              • object
                • date
                  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])))$
                • time
                  optional
                  string
                  pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
                • timeZone
                  optional
                  string
                  maxLength: 255 · minLength: 1
            • departureAt
              optional
              ReservationTimestamp

              Any of the following:

              • string
              • object
                • date
                  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])))$
                • time
                  optional
                  string
                  pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
                • timeZone
                  optional
                  string
                  maxLength: 255 · minLength: 1
            • durationMinutes
              optional
              number
              minimum: 0
          • identityDocuments
            optional
            array of
            object
            • reference
              string
              required
              maxLength: 255 · minLength: 1
            • status
              optional
              object
              • state
                string
                ·
                one of 10 values
                required
                Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
                default: "UNKNOWN"
              • code
                optional
                string
                maxLength: 255 · minLength: 1
              • name
                optional
                string
                maxLength: 255 · minLength: 1
        • journeys
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • origin
            optional
            string
            maxLength: 255 · minLength: 1
          • destination
            optional
            string
            maxLength: 255 · minLength: 1
          • departureAt
            optional
            ReservationTimestamp

            Any of the following:

            • string
            • object
              • date
                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])))$
              • time
                optional
                string
                pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
              • timeZone
                optional
                string
                maxLength: 255 · minLength: 1
          • segmentCount
            optional
            integer
            maximum: 9007199254740991 · minimum: 0
          • durationMinutes
            optional
            number
            minimum: 0
        • baggage
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • kind
            CHECKED
            or
            CABIN
            or
            OTHER
            required
          • allowance
            optional
            object
            • maximumPieces
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • totalWeightKilograms
              optional
              number
              minimum: 0
            • pieces
              optional
              array of
              object
              • pieces
                optional
                integer
                maximum: 9007199254740991 · minimum: 0
              • maximumWeightKilograms
                optional
                number
                minimum: 0
              • maximumWeightPounds
                optional
                number
                minimum: 0
              • maximumSizeCentimeters
                optional
                number
                minimum: 0
              • maximumSizeInches
                optional
                number
                minimum: 0
              • description
                optional
                string
                maxLength: 2000 · minLength: 1
          • charges
            optional
            array of
            object
            • pieces
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • maximumWeightKilograms
              optional
              number
              minimum: 0
            • maximumWeightPounds
              optional
              number
              minimum: 0
            • maximumSizeCentimeters
              optional
              number
              minimum: 0
            • maximumSizeInches
              optional
              number
              minimum: 0
            • description
              optional
              string
              maxLength: 2000 · minLength: 1
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • checkInOnly
              optional
              boolean
        • specialRequests
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • code
            string
            required
            maxLength: 255 · minLength: 1
          • name
            optional
            string
            maxLength: 255 · minLength: 1
          • status
            optional
            object
            • state
              string
              ·
              one of 10 values
              required
              Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
              default: "UNKNOWN"
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
          • description
            optional
            string
            maxLength: 2000 · minLength: 1
          • messageOmitted
            optional
            boolean
        • guarantees
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • kind
            CARD
            or
            CASH
            or
            CHECK
            or
            AGENCY
            or
            OTHER
            or
            UNKNOWN
            required
          • typeCode
            optional
            string
            maxLength: 255 · minLength: 1
          • typeName
            optional
            string
            maxLength: 255 · minLength: 1
          • useTypes
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • tripTypes
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • linkedGuaranteeReferences
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • card
            optional
            object
            • brand
              required

              Any of the following:

              • string
              • null
            • expiresYearMonth
              required

              Any of the following:

              • string
              • null
            • last4
              required

              Any of the following:

              • string
              • null
            • holderName
              optional

              The name on the card. Only the order's payer and Nicer staff get it.

              Any of the following:

              • string
              • null
          • holder
            optional
            object

            The card holder's name, address, emails and phones. Only the order's payer and Nicer staff get it.

            • givenName
              optional
              string
              maxLength: 255 · minLength: 1
            • middleName
              optional
              string
              maxLength: 255 · minLength: 1
            • surname
              optional
              string
              maxLength: 255 · minLength: 1
            • displayName
              optional
              string
              maxLength: 255 · minLength: 1
            • address
              optional
              object
              • city
                optional
                string
                maxLength: 255 · minLength: 1
              • cityCode
                optional
                string
                maxLength: 255 · minLength: 1
              • countryCode
                optional
                string
                maxLength: 255 · minLength: 1
              • name
                optional
                string
                maxLength: 255 · minLength: 1
              • postalCode
                optional
                string
                maxLength: 255 · minLength: 1
              • stateProvince
                optional
                string
                maxLength: 255 · minLength: 1
              • street
                optional
                string
                maxLength: 255 · minLength: 1
              • lines
                optional
                array of
                string
                maxLength: 255 · minLength: 1
            • emails
              optional
              array of
              string
              maxLength: 320 · minLength: 1
            • phones
              optional
              array of
              object
              • number
                string
                required
                maxLength: 255 · minLength: 1
              • label
                optional
                string
                maxLength: 255 · minLength: 1
            • faxes
              optional
              array of
              string
              maxLength: 255 · minLength: 1
            • emergencyPhones
              optional
              array of
              object
              • number
                string
                required
                maxLength: 255 · minLength: 1
              • label
                optional
                string
                maxLength: 255 · minLength: 1
          • approval
            optional
            object
            • supplierCode
              optional
              string
              maxLength: 255 · minLength: 1
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • requestedAt
              optional
              ReservationTimestamp

              Any of the following:

              • string
              • object
                • date
                  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])))$
                • time
                  optional
                  string
                  pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
                • timeZone
                  optional
                  string
                  maxLength: 255 · minLength: 1
            • expiresAt
              optional
              ReservationTimestamp

              Any of the following:

              • string
              • object
                • date
                  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])))$
                • time
                  optional
                  string
                  pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
                • timeZone
                  optional
                  string
                  maxLength: 255 · minLength: 1
        • history
          array of
          object
          required
          default: []
          • reference
            string
            required
            maxLength: 255 · minLength: 1
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • kind
            string
            ·
            one of 8 values
            required
            Allowed values: SEGMENT, SERVICE, ACCOUNTING, CREATED, UPDATED, TICKETING, RETENTION, OTHER
          • occurredAt
            optional
            ReservationTimestamp

            Any of the following:

            • string
            • object
              • date
                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])))$
              • time
                optional
                string
                pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
              • timeZone
                optional
                string
                maxLength: 255 · minLength: 1
          • status
            optional
            object
            • state
              string
              ·
              one of 10 values
              required
              Allowed values: CONFIRMED, PENDING, CANCELLED, ISSUED, VOIDED, REFUNDED, USED, EXCHANGED, OPEN, UNKNOWN
              default: "UNKNOWN"
            • code
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
          • code
            optional
            string
            maxLength: 255 · minLength: 1
          • supplierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • confirmation
            optional
            string
            maxLength: 255 · minLength: 1
          • documentReference
            optional
            string
            maxLength: 255 · minLength: 1
          • typeCode
            optional
            string
            maxLength: 255 · minLength: 1
          • fareApplicationType
            optional
            string
            maxLength: 255 · minLength: 1
          • paymentType
            optional
            string
            maxLength: 255 · minLength: 1
          • invoiceReferences
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • guaranteeReferences
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • cardLast4
            optional
            string
            pattern: ^[0-9]{4}$
          • description
            optional
            string
            maxLength: 2000 · minLength: 1
          • messageOmitted
            optional
            boolean
          • money
            optional
            object
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • feesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • subtotalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • taxesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • totalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
          • unconvertedAmount
            optional
            string
            maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
          • commission
            optional
            object
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • unconvertedAmount
              optional
              string
              maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
            • percentage
              optional
              string
              maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
            • text
              optional
              string
              maxLength: 255 · minLength: 1
          • taxAmount
            optional
            object
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • totalMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
          • unconvertedTaxAmount
            optional
            string
            maxLength: 80 · pattern: ^-?\d+(?:\.\d+)?$
          • quantity
            optional
            integer
            maximum: 9007199254740991 · minimum: 0
          • origin
            optional
            string
            maxLength: 255 · minLength: 1
          • destination
            optional
            string
            maxLength: 255 · minLength: 1
          • start
            optional
            ReservationTimestamp

            Any of the following:

            • string
            • object
              • date
                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])))$
              • time
                optional
                string
                pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
              • timeZone
                optional
                string
                maxLength: 255 · minLength: 1
          • end
            optional
            ReservationTimestamp

            Any of the following:

            • string
            • object
              • date
                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])))$
              • time
                optional
                string
                pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
              • timeZone
                optional
                string
                maxLength: 255 · minLength: 1
          • address
            optional
            object
            • city
              optional
              string
              maxLength: 255 · minLength: 1
            • cityCode
              optional
              string
              maxLength: 255 · minLength: 1
            • countryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
            • postalCode
              optional
              string
              maxLength: 255 · minLength: 1
            • stateProvince
              optional
              string
              maxLength: 255 · minLength: 1
            • street
              optional
              string
              maxLength: 255 · minLength: 1
            • lines
              optional
              array of
              string
              maxLength: 255 · minLength: 1
          • startAddress
            optional
            object
            • city
              optional
              string
              maxLength: 255 · minLength: 1
            • cityCode
              optional
              string
              maxLength: 255 · minLength: 1
            • countryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
            • postalCode
              optional
              string
              maxLength: 255 · minLength: 1
            • stateProvince
              optional
              string
              maxLength: 255 · minLength: 1
            • street
              optional
              string
              maxLength: 255 · minLength: 1
            • lines
              optional
              array of
              string
              maxLength: 255 · minLength: 1
          • endAddress
            optional
            object
            • city
              optional
              string
              maxLength: 255 · minLength: 1
            • cityCode
              optional
              string
              maxLength: 255 · minLength: 1
            • countryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
            • postalCode
              optional
              string
              maxLength: 255 · minLength: 1
            • stateProvince
              optional
              string
              maxLength: 255 · minLength: 1
            • street
              optional
              string
              maxLength: 255 · minLength: 1
            • lines
              optional
              array of
              string
              maxLength: 255 · minLength: 1
          • issuer
            optional
            object
            • supplierCode
              optional
              string
              maxLength: 255 · minLength: 1
            • officeId
              optional
              string
              maxLength: 255 · minLength: 1
            • homeOfficeId
              optional
              string
              maxLength: 255 · minLength: 1
            • userCode
              optional
              string
              maxLength: 255 · minLength: 1
            • agencyIataNumber
              optional
              string
              maxLength: 255 · minLength: 1
        • totals
          array of
          object
          required
          default: []
          • kind
            FLIGHT
            or
            FLIGHT_CURRENT
            or
            HOTEL
            or
            CAR_RENTAL
            or
            ANCILLARY
            or
            RESERVATION
            required
          • scope
            object
            required
            • travelerReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • segmentReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • serviceReferences
              array of
              string
              required
              maxLength: 255 · minLength: 1 · default: []
            • unresolvedTravelerIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
            • unresolvedSegmentIndices
              array of
              integer
              required
              maximum: 9007199254740991 · minimum: 0 · default: []
          • money
            object
            required
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • feesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • subtotalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • taxesMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • totalMinor
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
        • ticketed
          optional
          boolean
        • cancelable
          optional
          boolean
        • sourceDigest
          optional
          string
          pattern: ^[a-f0-9]{64}$
        • createdAt
          optional
          ReservationTimestamp

          Any of the following:

          • string
          • object
            • date
              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])))$
            • time
              optional
              string
              pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
            • timeZone
              optional
              string
              maxLength: 255 · minLength: 1
        • updatedAt
          optional
          ReservationTimestamp

          Any of the following:

          • string
          • object
            • date
              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])))$
            • time
              optional
              string
              pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
            • timeZone
              optional
              string
              maxLength: 255 · minLength: 1
        • retrievedAt
          optional
          ReservationTimestamp

          Any of the following:

          • string
          • object
            • date
              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])))$
            • time
              optional
              string
              pattern: ^(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?$
            • timeZone
              optional
              string
              maxLength: 255 · minLength: 1
        • retentionEndsOn
          optional
          string
          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])))$
        • creator
          optional
          object
          • supplierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • officeId
            optional
            string
            maxLength: 255 · minLength: 1
          • homeOfficeId
            optional
            string
            maxLength: 255 · minLength: 1
          • userCode
            optional
            string
            maxLength: 255 · minLength: 1
          • agencyIataNumber
            optional
            string
            maxLength: 255 · minLength: 1
        • updater
          optional
          object
          • supplierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • officeId
            optional
            string
            maxLength: 255 · minLength: 1
          • homeOfficeId
            optional
            string
            maxLength: 255 · minLength: 1
          • userCode
            optional
            string
            maxLength: 255 · minLength: 1
          • agencyIataNumber
            optional
            string
            maxLength: 255 · minLength: 1
        • updateCount
          optional
          integer
          maximum: 9007199254740991 · minimum: 0
    • null
  • recordedProduct
    required

    The service as the provider reported it, for an order recorded from a provider or enriched by a reservation read; null when none was recorded.

    Any of the following:

    • RecordedProduct
      • kind
        CAR_RENTAL
        or
        FLIGHT
        or
        HOTEL
        or
        INSURANCE
        required
      • name
        string
        required
        maxLength: 500 · minLength: 1
      • start
        required

        Any of the following:

        • Option 1

          Any of the following:

          • string
          • string
        • null
      • end
        required

        Any of the following:

        • Option 1

          Any of the following:

          • string
          • string
        • null
      • supplierConfirmation
        required

        Any of the following:

        • string
        • null
      • supplierName
        required

        Any of the following:

        • string
        • null
      • detail
        optional
        object
        • car
          optional
          object
          • distanceAllowance
            optional
            string
            maxLength: 255 · minLength: 1
          • dropOff
            optional
            object
            • address
              optional
              object
              • city
                optional
                string
                maxLength: 255 · minLength: 1
              • cityCode
                optional
                string
                maxLength: 255 · minLength: 1
              • countryCode
                optional
                string
                maxLength: 255 · minLength: 1
              • name
                optional
                string
                maxLength: 255 · minLength: 1
              • postalCode
                optional
                string
                maxLength: 255 · minLength: 1
              • stateProvince
                optional
                string
                maxLength: 255 · minLength: 1
              • street
                optional
                string
                maxLength: 255 · minLength: 1
              • lines
                optional
                array of
                string
                maxLength: 255 · minLength: 1
            • at
              optional
              string
              maxLength: 255 · minLength: 1
            • locationCode
              optional
              string
              maxLength: 255 · minLength: 1
            • phones
              optional
              array of
              string
              maxLength: 255 · minLength: 1
            • faxes
              optional
              array of
              string
              maxLength: 255 · minLength: 1
            • emergencyPhones
              optional
              array of
              string
              maxLength: 255 · minLength: 1
          • guaranteeType
            optional
            string
            maxLength: 255 · minLength: 1
          • pickUp
            optional
            object
            • address
              optional
              object
              • city
                optional
                string
                maxLength: 255 · minLength: 1
              • cityCode
                optional
                string
                maxLength: 255 · minLength: 1
              • countryCode
                optional
                string
                maxLength: 255 · minLength: 1
              • name
                optional
                string
                maxLength: 255 · minLength: 1
              • postalCode
                optional
                string
                maxLength: 255 · minLength: 1
              • stateProvince
                optional
                string
                maxLength: 255 · minLength: 1
              • street
                optional
                string
                maxLength: 255 · minLength: 1
              • lines
                optional
                array of
                string
                maxLength: 255 · minLength: 1
            • at
              optional
              string
              maxLength: 255 · minLength: 1
            • locationCode
              optional
              string
              maxLength: 255 · minLength: 1
            • phones
              optional
              array of
              string
              maxLength: 255 · minLength: 1
            • faxes
              optional
              array of
              string
              maxLength: 255 · minLength: 1
            • emergencyPhones
              optional
              array of
              string
              maxLength: 255 · minLength: 1
          • rateCode
            optional
            string
            maxLength: 255 · minLength: 1
          • supplierCode
            optional
            string
            maxLength: 255 · minLength: 1
          • rentalDays
            optional
            number
            minimum: 0
          • refundable
            optional
            boolean
          • vehicleCategory
            optional
            string
            maxLength: 255 · minLength: 1
          • vehicleModel
            optional
            string
            maxLength: 255 · minLength: 1
          • vehicleType
            optional
            string
            maxLength: 255 · minLength: 1
          • vehicleTypeCode
            optional
            string
            maxLength: 255 · minLength: 1
          • vehicles
            optional
            integer
            maximum: 9007199254740991
        • commission
          optional
          object
          • amount
            optional
            object
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • totalMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
          • unconvertedAmount
            optional
            string

            The supplier stated an amount without a usable currency.

            pattern: ^\d+(?:\.\d+)?$
          • percentage
            optional
            string
            pattern: ^\d+(?:\.\d+)?$
          • text
            optional
            string
            maxLength: 255 · minLength: 1
        • fare
          optional
          object
          • calculationLine
            optional
            string
            maxLength: 2000 · minLength: 1
          • changeable
            optional
            boolean
          • fareBasis
            optional
            string
            maxLength: 255 · minLength: 1
          • negotiated
            optional
            boolean
          • refundable
            optional
            boolean
          • taxes
            optional
            array of
            object
            • amount
              object
              required
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • code
              string
              required
              maxLength: 255 · minLength: 1
          • tickets
            optional
            array of
            object
            • number
              string
              required
              maxLength: 255 · minLength: 1
            • issuedOn
              optional
              string
              maxLength: 255 · minLength: 1
            • status
              optional
              string
              maxLength: 255 · minLength: 1
            • issuingOfficeId
              optional
              string
              maxLength: 255 · minLength: 1
          • tourCode
            optional
            string
            maxLength: 255 · minLength: 1
        • hotel
          optional
          object
          • address
            optional
            object
            • city
              optional
              string
              maxLength: 255 · minLength: 1
            • cityCode
              optional
              string
              maxLength: 255 · minLength: 1
            • countryCode
              optional
              string
              maxLength: 255 · minLength: 1
            • name
              optional
              string
              maxLength: 255 · minLength: 1
            • postalCode
              optional
              string
              maxLength: 255 · minLength: 1
            • stateProvince
              optional
              string
              maxLength: 255 · minLength: 1
            • street
              optional
              string
              maxLength: 255 · minLength: 1
            • lines
              optional
              array of
              string
              maxLength: 255 · minLength: 1
          • cancellationPolicy
            optional
            string
            maxLength: 2000 · minLength: 1
          • chainCode
            optional
            string
            maxLength: 255 · minLength: 1
          • chainName
            optional
            string
            maxLength: 255 · minLength: 1
          • checkInTime
            optional
            string
            maxLength: 255 · minLength: 1
          • checkOutTime
            optional
            string
            maxLength: 255 · minLength: 1
          • faxes
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • guaranteeType
            optional
            string
            maxLength: 255 · minLength: 1
          • guaranteeTypeCode
            optional
            string
            maxLength: 255 · minLength: 1
          • guests
            optional
            integer
            maximum: 9007199254740991
          • nightlyRate
            optional
            object
            • currency
              string
              required
              pattern: ^[A-Z]{3}$
            • totalMinor
              integer
              required
              maximum: 9007199254740991 · minimum: 0
          • nights
            optional
            array of
            object
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • nights
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • percentage
              optional
              string
              pattern: ^\d+(?:\.\d+)?$
            • from
              optional
              string
              maxLength: 40 · minLength: 1
            • to
              optional
              string
              maxLength: 40 · minLength: 1
          • paymentPolicy
            optional
            string
            maxLength: 255 · minLength: 1
          • phones
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • emergencyPhones
            optional
            array of
            string
            maxLength: 255 · minLength: 1
          • productCode
            optional
            string
            maxLength: 255 · minLength: 1
          • corporateRateCode
            optional
            string
            maxLength: 255 · minLength: 1
          • propertyId
            optional
            string
            maxLength: 255 · minLength: 1
          • rateCode
            optional
            string
            maxLength: 255 · minLength: 1
          • rateDescription
            optional
            array of
            string
            maxLength: 2000 · minLength: 1
          • refundPenalties
            optional
            array of
            object
            • amount
              optional
              object
              • currency
                string
                required
                pattern: ^[A-Z]{3}$
              • totalMinor
                integer
                required
                maximum: 9007199254740991 · minimum: 0
            • nights
              optional
              integer
              maximum: 9007199254740991 · minimum: 0
            • percentage
              optional
              string
              pattern: ^\d+(?:\.\d+)?$
            • from
              optional
              string
              maxLength: 40 · minLength: 1
            • to
              optional
              string
              maxLength: 40 · minLength: 1
          • refundable
            optional
            boolean
          • roomDescription
            optional
            string
            maxLength: 2000 · minLength: 1
          • roomType
            optional
            string
            maxLength: 255 · minLength: 1
          • roomTypeCode
            optional
            string
            maxLength: 255 · minLength: 1
          • clientRateCode
            optional
            string
            maxLength: 255 · minLength: 1
          • rooms
            optional
            integer
            maximum: 9007199254740991
          • providerPropertyId
            optional
            string
            maxLength: 255 · minLength: 1
          • specialInstructions
            optional
            string
            maxLength: 2000 · minLength: 1
          • sourceTypeCode
            optional
            string
            maxLength: 255 · minLength: 1
          • sourceTypeName
            optional
            string
            maxLength: 255 · minLength: 1
        • money
          optional
          object
          • currency
            string
            required
            pattern: ^[A-Z]{3}$
          • feesMinor
            optional
            integer
            maximum: 9007199254740991 · minimum: 0
          • subtotalMinor
            optional
            integer
            maximum: 9007199254740991 · minimum: 0
          • taxesMinor
            optional
            integer
            maximum: 9007199254740991 · minimum: 0
          • totalMinor
            optional
            integer
            maximum: 9007199254740991 · minimum: 0
        • references
          optional
          object
          • agencyIataNumber
            optional
            string
            maxLength: 255 · minLength: 1
          • agencyProfileId
            optional
            string
            maxLength: 255 · minLength: 1
          • corporateProfileId
            optional
            string
            maxLength: 255 · minLength: 1
          • providerSegmentIds
            optional
            array of
            string
            maxLength: 255 · minLength: 1
    • null
  • timeline
    array of
    object
    required

    The order's story, newest first, at most 500 entries. Entries of kind PAYMENT_EVENT and PROVIDER are Nicer staff only: the server leaves them out for an agency admin.

    • amountMinor
      required

      The amount involved, in minor units, for PAYMENT, EARNING and EXTERNAL_PAYMENT entries; null for the others.

      Any of the following:

      • integer
      • null
    • occurredAt
      string
      required

      When it happened: at the processor for a PAYMENT_EVENT, at issue for a FULFILLMENT, when Nicer recorded it for the others.

      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))$
    • companyName
      string
      required

      The agency whose books the entry is in.

      minLength: 1
    • currency
      required

      The currency of amountMinor; null when there is no amount.

      Any of the following:

      • CurrencyCode
      • null
    • detail
      required

      A second line for the entry, by kind; null when none.

      Any of the following:

      • string
      • null
    • kind
      string
      ·
      one of 9 values
      required

      What happened: ACTION (an order action was accepted; the title is its type), PAYMENT (a payment attempt; the title is its purpose and status, the detail the decline reason), PAYMENT_EVENT (an event from the payment processor; Nicer staff only), PROVIDER (a call to the provider; Nicer staff only), FULFILLMENT (a document was issued; the detail is its number), PROVIDER_RECORD (the provider's data was recorded), OBSERVATION (the reservation monitor read the booking; the detail is its error code), EARNING (an earning was booked; the title is its entry type, kind and beneficiary kind, the detail its status) or EXTERNAL_PAYMENT (a payment recorded outside Nicer; the title is its entry type and method, the detail its note).

      Allowed values: ACTION, PAYMENT, PAYMENT_EVENT, PROVIDER, FULFILLMENT, PROVIDER_RECORD, OBSERVATION, EARNING, EXTERNAL_PAYMENT
    • orderId
      string
      required

      The order the entry belongs to.

      minLength: 1
    • title
      string
      required

      What happened, in a few words.

      minLength: 1

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