> ## 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.

# /realms/{realmId}/organizations/{organizationId}/travel/passengers/{passengerId}



## OpenAPI

````yaml /api-reference/travel.openapi.json put /realms/{realmId}/organizations/{organizationId}/travel/passengers/{passengerId}
openapi: 3.0.3
info:
  title: Travel
  version: 1.0.0
  description: >-
    Portão 3 travel API. Generated by tools/openapi from code (routes +
    security) and the hand-written spec (request/response bodies). Search proxy
    (air/hotel/bus/vehicle) + passenger directory. Search POST bodies are
    validated per-vertical in the handler (tier=unknown); passenger bodies carry
    route-level zod schemas (typed). Responses proxied/presented without a
    schema layer. Confidence tiers: generated:typed=4 copied:manual=0
    unknown=17.
servers:
  - url: https://api.travel.v2.portao3.com.br/
    description: production
  - url: https://api.travel.dev.3pers.com.br/
    description: development
security:
  - bearerAuth: []
tags:
  - name: Travel Passengers
  - name: Travel Trips
  - name: Travel Search
paths:
  /realms/{realmId}/organizations/{organizationId}/travel/passengers/{passengerId}:
    put:
      tags:
        - Travel Passengers
      summary: >-
        /realms/{realmId}/organizations/{organizationId}/travel/passengers/{passengerId}
      operationId: >-
        putRealmsByRealmIdOrganizationsByOrganizationIdTravelPassengersByPassengerId
      parameters:
        - name: realmId
          in: path
          required: true
          schema:
            type: string
        - name: organizationId
          in: path
          required: true
          schema:
            type: string
        - name: passengerId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                gender:
                  type: string
                  enum:
                    - MALE
                    - FEMALE
                birthDate:
                  type: string
                  pattern: ^\d{4}-\d{2}-\d{2}$
                emails:
                  minItems: 1
                  type: array
                  items:
                    type: string
                    format: email
                    pattern: >-
                      ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                phoneNumbers:
                  minItems: 1
                  type: array
                  items:
                    type: string
                    pattern: ^\d{10,15}$
                documents:
                  type: object
                  properties:
                    CPF:
                      type: object
                      properties:
                        code:
                          type: string
                          minLength: 1
                        issueCountry:
                          type: string
                          minLength: 2
                          maxLength: 2
                      required:
                        - code
                        - issueCountry
                      nullable: true
                    RG:
                      type: object
                      properties:
                        code:
                          type: string
                          minLength: 1
                        issueCountry:
                          type: string
                          minLength: 2
                          maxLength: 2
                      required:
                        - code
                        - issueCountry
                      nullable: true
                    PASSPORT:
                      type: object
                      properties:
                        code:
                          type: string
                          minLength: 1
                        issueCountry:
                          type: string
                          minLength: 2
                          maxLength: 2
                      required:
                        - code
                        - issueCountry
                      nullable: true
                    CNH:
                      type: object
                      properties:
                        code:
                          type: string
                          minLength: 1
                        issueCountry:
                          type: string
                          minLength: 2
                          maxLength: 2
                      required:
                        - code
                        - issueCountry
                      nullable: true
                address:
                  type: object
                  properties:
                    shortAddress:
                      type: string
                      minLength: 1
                    adressLines:
                      minItems: 1
                      type: array
                      items:
                        type: string
                        minLength: 1
                    locality:
                      type: string
                      minLength: 1
                    administrativeArea:
                      type: string
                      minLength: 1
                    administrativeAreaName:
                      type: string
                      minLength: 1
                    postalCode:
                      type: string
                      minLength: 1
                    country:
                      type: string
                      minLength: 2
                      maxLength: 2
                    timezone:
                      type: string
                      minLength: 1
                    coordinates:
                      type: object
                      properties:
                        lat:
                          type: number
                        lng:
                          type: number
                      required:
                        - lat
                        - lng
                  required:
                    - shortAddress
                    - adressLines
                    - locality
                    - administrativeArea
                    - administrativeAreaName
                    - postalCode
                    - country
                    - timezone
                    - coordinates
                loyalty:
                  type: object
                  additionalProperties:
                    type: string
                customFields:
                  type: object
                  additionalProperties: {}
              required:
                - name
                - gender
                - birthDate
                - emails
                - phoneNumbers
                - documents
                - address
      responses:
        default:
          description: Undocumented response (no code type, no existing spec).
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````