Overview / Operations / Update a reservation

Update a reservation

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

Partial update. Only expected (booked) reservations can change. Changing the time keeps the duration unless ends_at or duration_minutes is sent. The guest is e-mailed when the time, table or party size changes.

Required scope reservations.write
Success status200

Parameters

NameInTypeDescription
reservation * path string ULID of the record.

Request body

FieldTypeDescription
branch_id * string Create only. A key bound to a branch may omit it.
dining_table_id string|null Optional; the table can be assigned later. Two active reservations on the same table may not overlap.
starts_at * string ISO 8601 with offset, e.g. 2026-10-03T19:30:00+03:00.
ends_at string|null Or send duration_minutes. Default: 2 hours after starts_at.
duration_minutes integer|null —
party_size * integer —
name * string —
phone string|null —
email string|null —
note string|null —
customer_id string|null —

Examples

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

curl -X PATCH 'https://api.flactrum.com/v1/reservations/01m43mzhdxeq1c63kjqhe9zjk3' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Content-Type: application/json' \
  -d '{
    "party_size": 6,
    "starts_at": "2026-10-05T20:00:00+03:00"
}'

HTTP 200 · application/json

{
    "data": {
        "id": "01m43mzhdxeq1c63kjqhe9zjk3",
        "code": "RZV-00001",
        "status": "booked",
        "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": null,
        "cancel_reason": null,
        "created_at": "2026-10-04T14:27:10+00:00",
        "updated_at": "2026-10-04T14:27:10+00:00"
    }
}