Collectors

POS register (collector) management — create, list, control and update

List collectors (registers)

get
/collectors/list

Returns all POS registers (collectors) for the authenticated merchant.

Roles: Manager, SuperManager, Cashier

Authorizations
AuthorizationstringRequired

JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.

Query parameters
childManagerstringOptional

Filter by child manager ID (SuperManager only)

Responses
200

List of collectors

application/json
successbooleanOptional

Whether the request succeeded

statusintegerOptional

HTTP status code

get
/collectors/list

Get a collector

get
/collectors/{id}

Returns details of a single collector by ID.

Roles: Manager, SuperManager, SuperAdmin, Service

Authorizations
AuthorizationstringRequired

JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.

Path parameters
idstringRequired

Collector ID

Responses
200

Collector details

application/json
successbooleanOptional

Whether the request succeeded

statusintegerOptional

HTTP status code

get
/collectors/{id}

Add a collector (register)

post
/collectors/add

Registers a new POS device as a collector. The uuid is scanned from the Lyzi ProScan app QR code.

Roles: Manager, SuperManager

Authorizations
AuthorizationstringRequired

JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.

Body
identifierstringRequired

Human-readable register identifier

salePointstringRequired

ID of the parent sale point

uuidstringRequired

UUID from the Lyzi ProScan app QR code

childManagerstringOptional

SuperManager: assign to a specific child manager

Responses
200

Collector added

application/json
successbooleanOptional

Whether the request succeeded

statusintegerOptional

HTTP status code

post
/collectors/add

Control collector (app login)

post
/collectors/controlcollector

Called by the Lyzi Pro app to authenticate a POS device and return a refreshed session. Validates the collector by identifier and updates its device info.

Roles: Manager, SuperManager

Authorizations
AuthorizationstringRequired

JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.

Body
identifierstringRequired

Collector identifier (UUID-BRANDNAME-COMPANYNAME-GEN format)

osstringRequired

Operating system (iOS/Android)

osVersionstringRequired
deviceModelstringRequired
deviceTokenstringRequired

FCM push notification token

Responses
200

Collector authenticated, updated collector object returned

application/json
successbooleanOptional

Whether the request succeeded

statusintegerOptional

HTTP status code

post
/collectors/controlcollector

Update a collector

put
/collectors/update/{id}

Updates the name, active status or assigned cashiers of a collector.

Roles: Manager, SuperManager

Authorizations
AuthorizationstringRequired

JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.

Path parameters
idstringRequired

Collector ID

Body
namestringOptional
activebooleanOptional
cashiersstring[]Optional

List of cashier user IDs

Responses
200

Collector updated

application/json
successbooleanOptional

Whether the request succeeded

statusintegerOptional

HTTP status code

put
/collectors/update/{id}

Get collectors by sale point

get
/collectors/salepoint/{id}

Returns all collectors (registers) attached to a specific sale point.

Roles: Manager, SuperManager, SimpleUser, SuperAdmin

Authorizations
AuthorizationstringRequired

JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.

Path parameters
idstringRequired

Sale point ID

Responses
200

Collectors for the sale point

application/json
successbooleanOptional

Whether the request succeeded

statusintegerOptional

HTTP status code

get
/collectors/salepoint/{id}

Last updated