> ## Documentation Index
> Fetch the complete documentation index at: https://developers.portao3.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a bus search item

> Returns the full detail of one bus trip of a bus search: the trip and its legs, with seat maps and fares.

Open a trip of the search results to see what the list only summarizes: its `segments` — the legs of the trip — each with its seat map and fare. To book it, create a trip with the item's `id` as `searchItemId` and, for each leg, its `id` as `segmentId` with a bookable seat's `seatNumber`. Amounts are integers in cents: `98700` is R\$ 987,00. The item lives as long as its search (see `ttl`). An error the travel provider reports about the request is returned with its own status, `code` and `message`.


## OpenAPI

````yaml /api-reference/travel.openapi.json get /realms/{realmId}/organizations/{organizationId}/bus/searches/{searchId}/items/{itemId}
openapi: 3.0.3
info:
  title: Travel
  version: 1.0.0
  description: >-
    Portão 3 travel API. Every endpoint requires a bearer token in the
    Authorization header (Authorization: Bearer <token>) unless its page states
    otherwise; see the Authentication guide. That requirement is not repeated
    per endpoint. Generated by tools/openapi from code (routes + security) and
    the hand-written spec (request/response bodies). Passenger directory, trips
    and the search proxy (air/hotel/bus/vehicle). Every route validates path,
    query and body through a zod Input class (`travel/src/domain/*/input`),
    which documents its parameters and body; responses are the named interfaces
    in `travel/src/domain/*/response.ts`. Confidence tiers: generated:typed=53
    copied:manual=0 unknown=0.
servers:
  - url: https://api.travel.v2.portao3.com.br/
    description: production
  - url: https://api.travel.dev.3pers.com.br/
    description: development
security: []
tags:
  - name: Passengers
  - name: Trips
  - name: Air search
  - name: Hotel search
  - name: Bus search
  - name: Vehicle search
paths:
  /realms/{realmId}/organizations/{organizationId}/bus/searches/{searchId}/items/{itemId}:
    get:
      tags:
        - Bus search
      summary: Get a bus search item
      description: >-
        Returns the full detail of one bus trip of a bus search: the trip and
        its legs, with seat maps and fares.
      operationId: >-
        getRealmsByRealmIdOrganizationsByOrganizationIdBusSearchesBySearchIdItemsByItemId
      parameters:
        - name: realmId
          in: path
          required: true
          description: |-
            ID of your realm.

            Format: `UUID`
          schema:
            type: string
            format: uuid
          example: f495ff0c-ab54-4f99-8e92-ca8682e4de9b
        - name: organizationId
          in: path
          required: true
          description: |-
            ID of your organization.

            Format: `UUID`
          schema:
            type: string
            format: uuid
          example: c4bd3f21-dfbd-44e8-8055-68ba15bed410
        - name: searchId
          in: path
          required: true
          description: ID of the search, as returned when it was created.
          schema:
            type: string
            pattern: ^srch_[0-9A-Za-z]{21}$
          example: srch_V1StGXR8Z5jdHi6BmyT2k
        - name: itemId
          in: path
          required: true
          description: >-
            ID of the item to load, as listed in the `items` of the search
            results.
          schema:
            type: string
            pattern: ^srch_item_[0-9A-Za-z]{21}$
          example: srch_item_V1StGXR8Z5jdHi6BmyT2k
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: >-
                      ID of the item. Use it to load the item (seat maps and
                      per-segment fares); send it as `searchItemId` when you
                      create a trip.
                    example: srch_item_Lc7Ve3PsKd9Ny2QtXw5Mb
                  searchId:
                    type: string
                    description: ID of the search the item belongs to.
                    example: srch_Fg4Ju9SaPe2Wx6TnCi5Oz
                  type:
                    type: string
                    enum:
                      - DIRECT
                      - CONNECTION
                      - ONE_STOP
                    description: '`DIRECT`, `CONNECTION` or `ONE_STOP`.'
                    example: DIRECT
                  routeDirection:
                    type: string
                    enum:
                      - DEPARTURE
                      - RETURN
                    description: >-
                      Whether the trip is an outbound (`DEPARTURE`) or a return
                      (`RETURN`) one.
                    example: DEPARTURE
                  origin:
                    type: object
                    properties:
                      id:
                        type: string
                        description: ID of the station.
                        example: bus_sta_Ts5Gm8XqVb2Hw7NcKe1Ld
                      slug:
                        type: string
                        description: Readable unique identifier of the station.
                        example: terminal-rodoviario-tiete
                      locality:
                        type: string
                        description: City.
                        example: São Paulo
                      administrativeArea:
                        type: string
                        description: State code.
                        example: SP
                      name:
                        type: string
                        nullable: true
                        description: >-
                          Official name of the station. `null` when not
                          informed.
                        example: Terminal Rodoviário Tietê
                      shortAddress:
                        type: string
                        nullable: true
                        description: The address in a single line. `null` when unknown.
                        example: Av. Cruzeiro do Sul, 1800, São Paulo, SP
                      phoneNumbers:
                        type: array
                        items:
                          type: string
                          example: '+551122222222'
                        description: |-
                          Contact phone numbers. Empty when none is registered.

                          ---

                          Example: `["+551122222222"]`
                      coordinates:
                        description: Position of the station. `null` when unknown.
                        type: object
                        properties:
                          lat:
                            type: number
                            description: Latitude, in decimal degrees.
                            example: -23.4356
                          lng:
                            type: number
                            description: Longitude, in decimal degrees.
                            example: -46.4731
                        required:
                          - lat
                          - lng
                        nullable: true
                    required:
                      - id
                      - slug
                      - locality
                      - administrativeArea
                      - name
                      - shortAddress
                      - phoneNumbers
                      - coordinates
                    description: Origin station.
                  destination:
                    type: object
                    properties:
                      id:
                        type: string
                        description: ID of the station.
                        example: bus_sta_Ts5Gm8XqVb2Hw7NcKe1Ld
                      slug:
                        type: string
                        description: Readable unique identifier of the station.
                        example: terminal-rodoviario-tiete
                      locality:
                        type: string
                        description: City.
                        example: São Paulo
                      administrativeArea:
                        type: string
                        description: State code.
                        example: SP
                      name:
                        type: string
                        nullable: true
                        description: >-
                          Official name of the station. `null` when not
                          informed.
                        example: Terminal Rodoviário Tietê
                      shortAddress:
                        type: string
                        nullable: true
                        description: The address in a single line. `null` when unknown.
                        example: Av. Cruzeiro do Sul, 1800, São Paulo, SP
                      phoneNumbers:
                        type: array
                        items:
                          type: string
                          example: '+551122222222'
                        description: |-
                          Contact phone numbers. Empty when none is registered.

                          ---

                          Example: `["+551122222222"]`
                      coordinates:
                        description: Position of the station. `null` when unknown.
                        type: object
                        properties:
                          lat:
                            type: number
                            description: Latitude, in decimal degrees.
                            example: -23.4356
                          lng:
                            type: number
                            description: Longitude, in decimal degrees.
                            example: -46.4731
                        required:
                          - lat
                          - lng
                        nullable: true
                    required:
                      - id
                      - slug
                      - locality
                      - administrativeArea
                      - name
                      - shortAddress
                      - phoneNumbers
                      - coordinates
                    description: Destination station.
                  departureDate:
                    type: string
                    description: >-
                      Departure, in the local time of the origin station
                      (`YYYY-MM-DDTHH:mm:ss`, no time-zone offset).
                    example: '2026-11-02T22:30:00'
                  arrivalDate:
                    type: string
                    description: >-
                      Arrival, in the local time of the destination station
                      (`YYYY-MM-DDTHH:mm:ss`, no time-zone offset).
                    example: '2026-11-03T05:15:00'
                  company:
                    type: object
                    properties:
                      name:
                        type: string
                        description: Commercial name.
                        example: Viação Aurora
                      logo:
                        type: string
                        nullable: true
                        description: URL of the company's logo. `null` when unknown.
                        example: https://example.com/logos/aurora-bus.svg
                      id:
                        type: string
                        nullable: true
                        description: ID of the company. `null` when not informed.
                        example: bus_co_Nx3Rp8YtKd5Wc1LqHe7Va
                    required:
                      - name
                      - logo
                      - id
                    description: Company that runs the trip.
                  availableSeats:
                    type: number
                    description: Seats available to book.
                    example: 18
                  totalSeats:
                    type: number
                    nullable: true
                    description: Seats on the bus. `null` when not informed.
                    example: 42
                  lowFareAvailableSeats:
                    type: number
                    nullable: true
                    description: Low-fare seats still available. `null` when not informed.
                    example: 4
                  fare:
                    type: object
                    properties:
                      originalAmount:
                        type: number
                        description: Price before discounts and fees, in cents.
                        example: 21000
                      discountAmount:
                        type: number
                        description: Discount applied to the original amount, in cents.
                        example: 2000
                      feeAmount:
                        type: number
                        description: Fees added to the fare, in cents.
                        example: 1500
                      amount:
                        type: number
                        description: >-
                          Total charged per passenger: `originalAmount -
                          discountAmount + feeAmount`, in cents (`20500` is R$
                          205,00).
                        example: 20500
                      currency:
                        type: string
                        description: Currency of the amounts (ISO 4217).
                        example: BRL
                      isLowFare:
                        type: boolean
                        description: Whether the fare is a low-fare seat.
                        example: false
                      cancellationPolicies:
                        type: object
                        properties:
                          refundable:
                            type: boolean
                            description: Whether the fare allows any refund at all.
                            example: true
                          immediateFine:
                            type: boolean
                            description: >-
                              Whether a fine is charged for cancelling right
                              after booking.
                            example: false
                          penalties:
                            type: array
                            items:
                              type: object
                              properties:
                                from:
                                  type: string
                                  description: >-
                                    Date (`YYYY-MM-DD`) from which this tier
                                    applies.
                                  example: '2026-10-30'
                                currency:
                                  type: string
                                  description: Currency of the penalty (ISO 4217).
                                  example: BRL
                                fineAmount:
                                  type: number
                                  description: >-
                                    Penalty charged when cancelling or changing
                                    from `from` onward, in cents.
                                  example: 15000
                              required:
                                - from
                                - currency
                                - fineAmount
                              description: >-
                                One tier of a cancellation or change penalty
                                schedule.
                            description: >-
                              Penalty schedule, in effect from each tier's date.
                              Empty or omitted when no scheduled penalty
                              applies.
                        required:
                          - refundable
                          - immediateFine
                        description: >-
                          Cancellation rules of the fare. Only in the item
                          detail, not in the search results.
                    required:
                      - originalAmount
                      - discountAmount
                      - feeAmount
                      - amount
                      - currency
                    description: Fare per passenger.
                  boardingPassType:
                    type: string
                    enum:
                      - RETRIEVE_AT_BOX_OFFICE
                      - ELECTRONIC
                    description: >-
                      How the boarding pass is delivered: `ELECTRONIC` or
                      `RETRIEVE_AT_BOX_OFFICE`.
                    example: ELECTRONIC
                  serviceClass:
                    type: string
                    enum:
                      - SLEEPER_BED
                      - BED
                      - SEMI_BED
                      - EXECUTIVE
                      - CONVENTIONAL
                      - UNDEFINED
                    description: >-
                      `SLEEPER_BED`, `BED`, `SEMI_BED`, `EXECUTIVE`,
                      `CONVENTIONAL` or `UNDEFINED`.
                    example: EXECUTIVE
                  waitingTime:
                    type: string
                    description: >-
                      Wait between connecting legs, as an ISO 8601 duration.
                      Empty for a direct trip.
                    example: ''
                  duration:
                    type: string
                    description: Duration of the trip, as an ISO 8601 duration.
                    example: PT6H45M
                  amenities:
                    type: array
                    items:
                      type: string
                      example: AIR_CONDITIONING
                    description: >-
                      Amenities of the bus, as codes: `AIR_CONDITIONING`,
                      `BATHROOM`, `LEG_SUPPORT`, `SEAT_RECLINE`,
                      `BETWEEN_SEATS`, `BUS_PHOTO`, `WIFI`, `POWER_OUTLETS`,
                      `MINERAL_WATER`, `DOUBLE_DECK` or `COMFORT_KIT`.


                      ---


                      Example: `["AIR_CONDITIONING","WIFI"]`
                  segmentsCount:
                    type: number
                    description: >-
                      Number of segments the trip is made of: 1 for a direct
                      trip, more with connections.
                    example: 1
                  createdAt:
                    type: string
                    description: When the item was created.
                    example: '2026-10-19T15:00:21.000Z'
                    format: date-time
                  segments:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: >-
                            ID of the segment. Send it as `segmentId` when you
                            create a trip.
                          example: seg_Ye6Kt2WnBd9Pq4LsRc1Xv
                        type:
                          type: string
                          enum:
                            - DIRECT
                            - CONNECTION
                            - ONE_STOP
                          description: '`DIRECT`, `CONNECTION` or `ONE_STOP`.'
                          example: DIRECT
                        fare:
                          type: object
                          properties:
                            originalAmount:
                              type: number
                              description: Price before discounts and fees, in cents.
                              example: 21000
                            discountAmount:
                              type: number
                              description: >-
                                Discount applied to the original amount, in
                                cents.
                              example: 2000
                            feeAmount:
                              type: number
                              description: Fees added to the fare, in cents.
                              example: 1500
                            amount:
                              type: number
                              description: >-
                                Total charged per passenger: `originalAmount -
                                discountAmount + feeAmount`, in cents (`20500`
                                is R$ 205,00).
                              example: 20500
                            currency:
                              type: string
                              description: Currency of the amounts (ISO 4217).
                              example: BRL
                            isLowFare:
                              type: boolean
                              description: Whether the fare is a low-fare seat.
                              example: false
                            cancellationPolicies:
                              type: object
                              properties:
                                refundable:
                                  type: boolean
                                  description: Whether the fare allows any refund at all.
                                  example: true
                                immediateFine:
                                  type: boolean
                                  description: >-
                                    Whether a fine is charged for cancelling
                                    right after booking.
                                  example: false
                                penalties:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      from:
                                        type: string
                                        description: >-
                                          Date (`YYYY-MM-DD`) from which this tier
                                          applies.
                                        example: '2026-10-30'
                                      currency:
                                        type: string
                                        description: Currency of the penalty (ISO 4217).
                                        example: BRL
                                      fineAmount:
                                        type: number
                                        description: >-
                                          Penalty charged when cancelling or
                                          changing from `from` onward, in cents.
                                        example: 15000
                                    required:
                                      - from
                                      - currency
                                      - fineAmount
                                    description: >-
                                      One tier of a cancellation or change
                                      penalty schedule.
                                  description: >-
                                    Penalty schedule, in effect from each tier's
                                    date. Empty or omitted when no scheduled
                                    penalty applies.
                              required:
                                - refundable
                                - immediateFine
                              description: >-
                                Cancellation rules of the fare. Only in the item
                                detail, not in the search results.
                          required:
                            - originalAmount
                            - discountAmount
                            - feeAmount
                            - amount
                            - currency
                          description: Fare of the segment, per passenger.
                        origin:
                          type: object
                          properties:
                            id:
                              type: string
                              description: ID of the station.
                              example: bus_sta_Ts5Gm8XqVb2Hw7NcKe1Ld
                            slug:
                              type: string
                              description: Readable unique identifier of the station.
                              example: terminal-rodoviario-tiete
                            locality:
                              type: string
                              description: City.
                              example: São Paulo
                            administrativeArea:
                              type: string
                              description: State code.
                              example: SP
                            name:
                              type: string
                              nullable: true
                              description: >-
                                Official name of the station. `null` when not
                                informed.
                              example: Terminal Rodoviário Tietê
                            shortAddress:
                              type: string
                              nullable: true
                              description: >-
                                The address in a single line. `null` when
                                unknown.
                              example: Av. Cruzeiro do Sul, 1800, São Paulo, SP
                            phoneNumbers:
                              type: array
                              items:
                                type: string
                                example: '+551122222222'
                              description: >-
                                Contact phone numbers. Empty when none is
                                registered.


                                ---


                                Example: `["+551122222222"]`
                            coordinates:
                              description: Position of the station. `null` when unknown.
                              type: object
                              properties:
                                lat:
                                  type: number
                                  description: Latitude, in decimal degrees.
                                  example: -23.4356
                                lng:
                                  type: number
                                  description: Longitude, in decimal degrees.
                                  example: -46.4731
                              required:
                                - lat
                                - lng
                              nullable: true
                          required:
                            - id
                            - slug
                            - locality
                            - administrativeArea
                            - name
                            - shortAddress
                            - phoneNumbers
                            - coordinates
                          description: Boarding station.
                        destination:
                          type: object
                          properties:
                            id:
                              type: string
                              description: ID of the station.
                              example: bus_sta_Ts5Gm8XqVb2Hw7NcKe1Ld
                            slug:
                              type: string
                              description: Readable unique identifier of the station.
                              example: terminal-rodoviario-tiete
                            locality:
                              type: string
                              description: City.
                              example: São Paulo
                            administrativeArea:
                              type: string
                              description: State code.
                              example: SP
                            name:
                              type: string
                              nullable: true
                              description: >-
                                Official name of the station. `null` when not
                                informed.
                              example: Terminal Rodoviário Tietê
                            shortAddress:
                              type: string
                              nullable: true
                              description: >-
                                The address in a single line. `null` when
                                unknown.
                              example: Av. Cruzeiro do Sul, 1800, São Paulo, SP
                            phoneNumbers:
                              type: array
                              items:
                                type: string
                                example: '+551122222222'
                              description: >-
                                Contact phone numbers. Empty when none is
                                registered.


                                ---


                                Example: `["+551122222222"]`
                            coordinates:
                              description: Position of the station. `null` when unknown.
                              type: object
                              properties:
                                lat:
                                  type: number
                                  description: Latitude, in decimal degrees.
                                  example: -23.4356
                                lng:
                                  type: number
                                  description: Longitude, in decimal degrees.
                                  example: -46.4731
                              required:
                                - lat
                                - lng
                              nullable: true
                          required:
                            - id
                            - slug
                            - locality
                            - administrativeArea
                            - name
                            - shortAddress
                            - phoneNumbers
                            - coordinates
                          description: Drop-off station.
                        departureDate:
                          type: string
                          description: >-
                            Departure, in the local time of the boarding station
                            (`YYYY-MM-DDTHH:mm:ss`, no time-zone offset).
                          example: '2026-11-02T22:30:00'
                        arrivalDate:
                          type: string
                          description: >-
                            Arrival, in the local time of the drop-off station
                            (`YYYY-MM-DDTHH:mm:ss`, no time-zone offset).
                          example: '2026-11-03T05:15:00'
                        company:
                          type: object
                          properties:
                            name:
                              type: string
                              description: Commercial name.
                              example: Viação Aurora
                            logo:
                              type: string
                              nullable: true
                              description: URL of the company's logo. `null` when unknown.
                              example: https://example.com/logos/aurora-bus.svg
                            id:
                              type: string
                              nullable: true
                              description: ID of the company. `null` when not informed.
                              example: bus_co_Nx3Rp8YtKd5Wc1LqHe7Va
                          required:
                            - name
                            - logo
                            - id
                          description: Company that runs the segment.
                        availableSeats:
                          type: number
                          description: Seats available to book on the segment.
                          example: 18
                        lowFareAvailableSeats:
                          type: number
                          description: Low-fare seats still available on the segment.
                          example: 4
                        duration:
                          type: string
                          description: Duration of the segment, as an ISO 8601 duration.
                          example: PT6H45M
                        serviceClass:
                          type: string
                          enum:
                            - SLEEPER_BED
                            - BED
                            - SEMI_BED
                            - EXECUTIVE
                            - CONVENTIONAL
                            - UNDEFINED
                          description: >-
                            `SLEEPER_BED`, `BED`, `SEMI_BED`, `EXECUTIVE`,
                            `CONVENTIONAL` or `UNDEFINED`.
                          example: EXECUTIVE
                        seats:
                          type: array
                          items:
                            type: object
                            properties:
                              seatNumber:
                                type: number
                                description: >-
                                  Seat number, as printed on the boarding pass.
                                  Send it as `seatNumber` when you create a
                                  trip.
                                example: 12
                              position:
                                type: object
                                properties:
                                  x:
                                    type: number
                                    nullable: true
                                    description: >-
                                      Horizontal position. `null` when the
                                      layout is not available.
                                    example: 2
                                  'y':
                                    type: number
                                    nullable: true
                                    description: >-
                                      Vertical position. `null` when the layout
                                      is not available.
                                    example: 5
                                  z:
                                    type: number
                                    nullable: true
                                    description: >-
                                      Deck: `0` for a single-deck bus or the
                                      lower deck, `1` for the upper deck. `null`
                                      when the layout is not available.
                                    example: 0
                                required:
                                  - x
                                  - 'y'
                                  - z
                                description: Where the seat is.
                              isBookable:
                                type: boolean
                                description: Whether the seat can be booked now.
                                example: true
                            required:
                              - seatNumber
                              - position
                              - isBookable
                            description: A seat of a bus segment.
                          description: The seat map of the segment.
                      required:
                        - id
                        - type
                        - fare
                        - origin
                        - destination
                        - departureDate
                        - arrivalDate
                        - company
                        - availableSeats
                        - lowFareAvailableSeats
                        - duration
                        - serviceClass
                        - seats
                      description: One leg of a bus trip, with its seat map and fare.
                    description: >-
                      The legs of the trip, each with its seat map and fare —
                      send each leg's `id` as `segmentId`, with a bookable
                      seat's `seatNumber`, when you create a trip.
                required:
                  - amenities
                  - arrivalDate
                  - availableSeats
                  - boardingPassType
                  - company
                  - createdAt
                  - departureDate
                  - destination
                  - duration
                  - fare
                  - id
                  - lowFareAvailableSeats
                  - origin
                  - routeDirection
                  - searchId
                  - segments
                  - segmentsCount
                  - serviceClass
                  - totalSeats
                  - type
                  - waitingTime
                description: >-
                  The detail of one bus trip of a bus search: the trip and its
                  legs, with seat maps and fares.
        '404':
          description: >-
            `SEARCH_NOT_FOUND` — The search doesn't exist, has expired, was
            created by another organization or is not a bus search.


            `BUS_ROUTE_SEARCH_ITEM_NOT_FOUND` — The bus search has no item with
            this ID, or it expired.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traceId:
                    type: string
                    description: >-
                      Identifier of the request that failed. Quote it when
                      contacting support.
                    example: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                  code:
                    type: string
                    enum:
                      - SEARCH_NOT_FOUND
                      - BUS_ROUTE_SEARCH_ITEM_NOT_FOUND
                    description: >-
                      Stable, machine-readable error code. Branch on this, never
                      on `message`.
                  origin:
                    type: string
                    enum:
                      - TRAVEL
                    description: Service that produced the error.
                  message:
                    type: string
                    description: >-
                      Human-readable explanation. Its wording may change without
                      notice.
                required:
                  - traceId
                  - code
                  - origin
                  - message
              example:
                traceId: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                code: SEARCH_NOT_FOUND
                origin: TRAVEL
                message: Search not found
        '422':
          description: >-
            `BAD_REQUEST` — A path parameter is not a valid ID; `fields` lists
            each one.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traceId:
                    type: string
                    description: >-
                      Identifier of the request that failed. Quote it when
                      contacting support.
                    example: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                  code:
                    type: string
                    enum:
                      - BAD_REQUEST
                    description: >-
                      Stable, machine-readable error code. Branch on this, never
                      on `message`.
                  origin:
                    type: string
                    enum:
                      - TRAVEL
                    description: Service that produced the error.
                  message:
                    type: string
                    description: >-
                      Human-readable explanation. Its wording may change without
                      notice.
                  fields:
                    type: array
                    description: >-
                      One entry per invalid request field (validation errors
                      only).
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          description: >-
                            Path of the invalid field, e.g. `label` or
                            `values[0].value`.
                          example: label
                        message:
                          type: string
                          description: Why the field was rejected.
                          example: label is required
                        code:
                          type: string
                          description: >-
                            `<FIELD>_<REASON>` — e.g. `LABEL_REQUIRED`,
                            `TYPE_ONE_OF`, `VALUES_VALUE_TYPE_ERROR`.
                          example: LABEL_REQUIRED
                        values:
                          type: array
                          items:
                            type: string
                          description: >-
                            The accepted values, when the field is an
                            enumeration.
                      required:
                        - field
                        - message
                        - code
                required:
                  - traceId
                  - code
                  - origin
                  - message
              example:
                traceId: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                code: BAD_REQUEST
                origin: TRAVEL
                message: >-
                  Bad Request: Your request is invalid or incomplete. Please
                  make sure you are requesting with the right fields.
                fields:
                  - field: organizationId
                    message: Invalid UUID
                    code: ORGANIZATIONID_UUID
        '503':
          description: >-
            `PROVIDER_UNAVAILABLE` — The travel provider could not be reached.
            Retry later.
          content:
            application/json:
              schema:
                type: object
                properties:
                  traceId:
                    type: string
                    description: >-
                      Identifier of the request that failed. Quote it when
                      contacting support.
                    example: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                  code:
                    type: string
                    enum:
                      - PROVIDER_UNAVAILABLE
                    description: >-
                      Stable, machine-readable error code. Branch on this, never
                      on `message`.
                  origin:
                    type: string
                    enum:
                      - TRAVEL
                    description: Service that produced the error.
                  message:
                    type: string
                    description: >-
                      Human-readable explanation. Its wording may change without
                      notice.
                required:
                  - traceId
                  - code
                  - origin
                  - message
              example:
                traceId: 1-68ee2a1b-3c4d5e6f7a8b9c0d1e2f3a4b
                code: PROVIDER_UNAVAILABLE
                origin: TRAVEL
                message: Travel provider temporarily unavailable, please retry.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.