---
title: "Cancellation"
method: PUT
path: "/bookings/{flightUUID}"
---

# Cancellation

`PUT /bookings/{flightUUID}`

## Request

- Base URL: `https://api.cargoai.co/solutions`
- URL: `https://api.cargoai.co/solutions/bookings/{flightUUID}`
- Auth: API key in header `x-api-key`

This document outlines the process to cancel a booking performed via CargoCONNECT API.

## Path parameters

- `flightUUID` string, required

## Headers

- `x-api-key` string, required

## Request body

- object
  - `flightUUID` string, required: Flight UUID used for booking creation
  - `action` string, required: Set to "CANCEL"
  - `cancelledReasons` string: Reasons for the cancellation to be forwarded to the airline

## Response `200`

200

- union
  - object
    - `status` string
    - `flightUUID` string
  - object
    - `status` string
    - `flightUUID` string
  - object
    - `flightUUID` string
    - `status` string
    - `trackingURL` string

## Other responses

- `400`: 400
- `502`: 502

## Changes

- **2026-11-03** `dfd7950d43d7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cargoai/apis/solutions/changes/bookings/:flightUUID/put.md)

---

[API](https://skmtc.dev/cargoai/apis/solutions.md) - [All operations](https://skmtc.dev/cargoai/apis/solutions/llms.txt) - [OpenAPI document](https://skmtc.dev/cargoai/apis/solutions/revisions/dfd7950d43d7?raw)
