---
title: "Partially update an existing booking"
url: "https://devportal.jilson.dev/apis/kong-air-ap-is-1-0-0/versions/7a8b8282-7fdc-432a-a618-88582e8fb712/paths/bookings-ticketNumber/patch"
---

> Full API specification: https://devportal.jilson.dev/apis/kong-air-ap-is-1-0-0/versions/7a8b8282-7fdc-432a-a618-88582e8fb712.md

# Partially update an existing booking

`PATCH` `/bookings/{ticketNumber}`

Partially updates an existing booking.

## Path parameters

- `ticketNumber` (string, required) - The ticket number to update

## Request body (required)

Content types: `application/json`

## Responses

- `200` - Booking updated successfully
- `404` - Booking not found

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: KongAir APIs
  version: 1.0.0
servers:
  - url: https://api.kongair.dev
    description: KongAir API Dev
paths:
  /bookings/{ticketNumber}:
    patch:
      summary: Partially update an existing booking
      description: Partially updates an existing booking.
      tags:
        - Bookings
      parameters:
        - name: ticketNumber
          in: path
          description: The ticket number to update
          required: true
          style: simple
          schema:
            type: string
      requestBody:
        description: Partial booking details to update
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/Booking"
      responses:
        "200":
          description: Booking updated successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Booking"
        "404":
          description: Booking not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
security:
  - ApiKeyAuth: []
  - BearerAuth: []
components:
  schemas:
    Booking:
      type: object
      properties:
        ticket_number:
          type: string
        flight:
          type: object
          properties:
            number:
              type: string
            route_id:
              type: string
            scheduled_departure:
              type: string
              format: date-time
            scheduled_arrival:
              type: string
              format: date-time
        seat:
          type: string
      required:
        - ticket_number
        - flight
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
```
