Overview / Operations / Cancel a reservation

Cancel a reservation

post https://api.flactrum.com/v1/reservations/{reservation}/cancel

Optional reason. The table is released; the guest is e-mailed if an address is on file.

Required scope reservations.write
Success status200

Parameters

NameInTypeDescription
reservation * path string ULID of the record.

Request body

FieldTypeDescription
reason string|null —

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X POST 'https://api.flactrum.com/v1/reservations/01m43mzhdxeq1c63kjqhe9zjk3/cancel' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Content-Type: application/json' \
  -d '{
    "reason": "Misafir aradı"
}'

HTTP 200 · application/json

{
    "data": {
        "id": "01m43mzhdxeq1c63kjqhe9zjk3",
        "code": "RZV-00001",
        "status": "cancelled",
        "starts_at": "2026-10-05T17:00:00+00:00",
        "ends_at": "2026-10-05T19:00:00+00:00",
        "party_size": 6,
        "name": "Ayşe Demir",
        "phone": "0532 111 22 33",
        "branch_id": "01m43mzhd520kf9w71v3z18hsg",
        "branch": {
            "id": "01m43mzhd520kf9w71v3z18hsg",
            "name": "Nişantaşı"
        },
        "table": {
            "id": "01m43mzhdh7b14vjfy08kpm9mv",
            "code": "S-1",
            "name": "S-1"
        },
        "email": "ayse@ornek.com",
        "note": "Pencere kenarı",
        "customer_id": null,
        "dining_session_id": null,
        "seated_at": null,
        "cancelled_at": "2026-10-04T14:27:10+00:00",
        "cancel_reason": "Misafir aradı",
        "created_at": "2026-10-04T14:27:10+00:00",
        "updated_at": "2026-10-04T14:27:10+00:00"
    }
}