Overview / Catalog / Close a table without orders

Close a table without orders

post https://api.flactrum.com/v1/pos/dining-sessions/{session}/close

Frees a table whose bill has no round awaiting payment (the guests left without ordering, the table was opened by mistake, or every item was cancelled). A bill with a pending round returns 409; settle it instead.

Required scope tables.write
Success status200

Parameters

NameInTypeDescription
session * path string ULID of the record.

Examples

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

curl -X POST 'https://api.flactrum.com/v1/pos/dining-sessions/01m43mzvh9tqg1qzyxfygyhqfx/close' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": {
        "id": "01m43mzvh9tqg1qzyxfygyhqfx",
        "status": "cancelled",
        "version": 2,
        "guest_count": 3,
        "opened_at": "2026-10-04T14:27:21+00:00",
        "closed_at": "2026-10-04T14:27:21+00:00",
        "table": {
            "id": "01m43mzvgq4mre6570fqsk6pyy",
            "code": "S-1",
            "name": "S-1",
            "area": {
                "id": "01m43mzvgq4mre6570fqsk6pyx",
                "name": "Salon"
            }
        },
        "opener": null,
        "customer_id": null,
        "customer": null,
        "pending_total": 0,
        "orders": []
    }
}