Overview / System / Update a printer

Update a printer

patch https://api.flactrum.com/v1/printers/{printer}
Required scope devices.write
Success status200
Returns One Printer object

Parameters

NameInTypeDescription
printer * path string ULID of the record.

Request body

FieldTypeDescription
name * string —
branch_id * string —
role * string —
connection string —
paper_width_mm integer —
charset string —
is_active boolean —

Response fields

FieldTypeDescription
id string —
name string —
branch_id string —
role string kitchen prints the order number and lines; queue prints only the queue number for the customer.
connection string —
paper_width_mm integer —
charset string ESC/POS code page and encoding.
is_active boolean —
is_paired boolean Paired with the print helper on the computer the printer is plugged into.
is_online boolean The helper checked in during the last minute.
last_seen_at string|null —

Examples

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

curl -X PATCH 'https://api.flactrum.com/v1/printers/01m43sq5hx48z5r9rfcy78wg2d' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Content-Type: application/json' \
  -d '{
    "role": "queue"
}'

HTTP 200 · application/json

{
    "data": {
        "id": "01m43sq5hx48z5r9rfcy78wg2d",
        "name": "Mutfak",
        "branch_id": "01m43sq5dp8qa8mrke98pf2ae2",
        "role": "queue",
        "connection": "agent",
        "paper_width_mm": 58,
        "charset": "48:cp1254",
        "is_active": true,
        "is_paired": false,
        "is_online": false,
        "last_seen_at": null,
        "created_at": "2026-10-04T15:49:59+00:00",
        "updated_at": "2026-10-04T15:49:59+00:00"
    }
}