Collectors
POS register (collector) management — create, list, control and update
Returns all POS registers (collectors) for the authenticated merchant.
Roles: Manager, SuperManager, Cashier
JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.
Filter by child manager ID (SuperManager only)
List of collectors
Whether the request succeeded
HTTP status code
Unauthorized
GET /api/next/collectors/list HTTP/1.1
Host: api.lyzi.fr
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"status": 1,
"data": [
{
"_id": "text",
"identifier": "text",
"name": "text",
"active": true,
"salePoint": "text",
"uuid": "text",
"cashiers": [
"text"
]
}
]
}Returns details of a single collector by ID.
Roles: Manager, SuperManager, SuperAdmin, Service
JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.
Collector ID
Collector details
Whether the request succeeded
HTTP status code
Unauthorized
Not found
GET /api/next/collectors/{id} HTTP/1.1
Host: api.lyzi.fr
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"status": 1,
"data": {
"_id": "text",
"identifier": "text",
"name": "text",
"active": true,
"salePoint": "text",
"uuid": "text",
"cashiers": [
"text"
]
}
}Registers a new POS device as a collector. The uuid is scanned from the Lyzi ProScan app QR code.
Roles: Manager, SuperManager
JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.
Human-readable register identifier
ID of the parent sale point
UUID from the Lyzi ProScan app QR code
SuperManager: assign to a specific child manager
Collector added
Whether the request succeeded
HTTP status code
Unauthorized
Validation error
POST /api/next/collectors/add HTTP/1.1
Host: api.lyzi.fr
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 76
{
"identifier": "text",
"salePoint": "text",
"uuid": "text",
"childManager": "text"
}{
"success": true,
"status": 1,
"data": {
"_id": "text",
"identifier": "text",
"name": "text",
"active": true,
"salePoint": "text",
"uuid": "text",
"cashiers": [
"text"
]
}
}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
JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.
Collector identifier (UUID-BRANDNAME-COMPANYNAME-GEN format)
Operating system (iOS/Android)
FCM push notification token
Collector authenticated, updated collector object returned
Whether the request succeeded
HTTP status code
Unauthorized
Collector not found
Validation error
POST /api/next/collectors/controlcollector HTTP/1.1
Host: api.lyzi.fr
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 94
{
"identifier": "text",
"os": "text",
"osVersion": "text",
"deviceModel": "text",
"deviceToken": "text"
}{
"success": true,
"status": 1,
"data": {
"_id": "text",
"identifier": "text",
"name": "text",
"active": true,
"salePoint": "text",
"uuid": "text",
"cashiers": [
"text"
]
}
}Updates the name, active status or assigned cashiers of a collector.
Roles: Manager, SuperManager
JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.
Collector ID
List of cashier user IDs
Collector updated
Whether the request succeeded
HTTP status code
Unauthorized
Validation error
PUT /api/next/collectors/update/{id} HTTP/1.1
Host: api.lyzi.fr
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 49
{
"name": "text",
"active": true,
"cashiers": [
"text"
]
}{
"success": true,
"status": 1,
"data": {
"_id": "text",
"identifier": "text",
"name": "text",
"active": true,
"salePoint": "text",
"uuid": "text",
"cashiers": [
"text"
]
}
}Returns all collectors (registers) attached to a specific sale point.
Roles: Manager, SuperManager, SimpleUser, SuperAdmin
JWT token obtained from /auth/login or /auth/login/manager. Include as Authorization: Bearer <token>.
Sale point ID
Collectors for the sale point
Whether the request succeeded
HTTP status code
Unauthorized
GET /api/next/collectors/salepoint/{id} HTTP/1.1
Host: api.lyzi.fr
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"status": 1,
"data": [
{
"_id": "text",
"identifier": "text",
"name": "text",
"active": true,
"salePoint": "text",
"uuid": "text",
"cashiers": [
"text"
]
}
]
}Last updated