Move or merge a table bill
post
https://api.flactrum.com/v1/pos/dining-sessions/{session}/merge
Moves the bill to target_table_id. If that table already has a bill, the two are merged into it; when both bills carry different customers, send the customer_id to keep.
| Required scope | tables.write |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| session * | path | string | ULID of the record. |
Request body
| Field | Type | Description |
|---|---|---|
| target_table_id * | string | — |
| customer_id | string|null | The customer to keep when both bills carry different customers. |
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/01m43mzvcc6xm3d7yx9cptm02j/merge' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Content-Type: application/json' \
-d '{
"target_table_id": "01m43mzvbw92ph1hzvcg5nsvpy"
}'
HTTP 200 · application/json
{
"data": {
"id": "01m43mzvcc6xm3d7yx9cptm02j",
"status": "open",
"version": 3,
"guest_count": 3,
"opened_at": "2026-10-04T14:27:21+00:00",
"closed_at": null,
"table": {
"id": "01m43mzvbw92ph1hzvcg5nsvpy",
"code": "S-2",
"name": "S-2",
"area": {
"id": "01m43mzvbttpyac4yk496r1htw",
"name": "Salon"
}
},
"opener": null,
"customer_id": "01m43mzvcf7zysbr8eym38g6f8",
"customer": {
"name": "Sarp Nebioğlu"
},
"pending_total": 180,
"orders": [
{
"id": "01m43mzvd54h14jz89vfsncbkj",
"order_number": "NIS-261004-0001",
"branch_id": "01m43mzvbg7w3ywvakesk2pxh9",
"channel": "kasa",
"service_type": "table",
"table": {
"id": "01m43mzvbw92ph1hzvcg5nsvpy",
"code": "S-2",
"name": "S-2"
},
"status": "pending",
"display_number": "001",
"kitchen": {
"status": "new",
"preparing_at": null,
"ready_at": null,
"delivered_at": null
},
"customer_id": null,
"customer_name": null,
"payment_method_id": null,
"totals": {
"total": 180,
"subtotal": 163.64,
"tax": 16.36,
"discount": 0,
"campaign_discount": 0,
"cost": 0,
"gross_profit": 163.64
},
"customer_payment": {
"paid_with_balance": 0,
"paid_with_points": 0,
"points_spent": 0,
"points_earned": 0
},
"items": [
{
"id": "01m43mzvd8n0amn9awkgwfctfk",
"product_id": "01m43mzvc06xedz2qexd5jq6ab",
"campaign_id": null,
"quantity": 2,
"unit_price": 90,
"list_price": 90,
"campaign_discount": 0,
"total_price": 180,
"tax_rate": 10,
"tax_amount": 16.36,
"cancelled_at": null,
"cancel_reason": null,
"addons": []
}
],
"note": "Az şekerli",
"ordered_at": "2026-10-04T14:27:21+00:00",
"paid_at": null,
"created_at": "2026-10-04T14:27:21+00:00",
"updated_at": "2026-10-04T14:27:21+00:00"
}
]
}
}