Overview / Catalog / Link a customer to a table bill

Link a customer to a table bill

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

Send customer_id (or null to unlink). Points are earned for this customer when the bill is settled.

Required scope tables.write
Success status200

Parameters

NameInTypeDescription
session * path string ULID of the record.

Request body

FieldTypeDescription
customer_id * string|null Null unlinks the customer.

Examples

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

curl -X PATCH 'https://api.flactrum.com/v1/pos/dining-sessions/01m43mzvcc6xm3d7yx9cptm02j' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Content-Type: application/json' \
  -d '{
    "customer_id": "01m43mzvcf7zysbr8eym38g6f8"
}'

HTTP 200 · application/json

{
    "data": {
        "id": "01m43mzvcc6xm3d7yx9cptm02j",
        "status": "open",
        "version": 2,
        "guest_count": 3,
        "opened_at": "2026-10-04T14:27:21+00:00",
        "closed_at": null,
        "table": {
            "id": "01m43mzvbv47jm0g95ercswr56",
            "code": "S-1",
            "name": "S-1",
            "area": {
                "id": "01m43mzvbttpyac4yk496r1htw",
                "name": "Salon"
            }
        },
        "opener": null,
        "customer_id": "01m43mzvcf7zysbr8eym38g6f8",
        "customer": {
            "name": "Sarp Nebioğlu"
        },
        "pending_total": 0,
        "orders": []
    }
}