Printer
Printer
List printers, optionally for a store (query parameter).
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Reference to a store
Example response
GET /v2/tenants/{tenantUid}/printers HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"printerUid": "text",
"deviceUids": [
"text"
],
"storeUid": "text",
"name": "text",
"description": "text",
"type": "LABEL",
"path": "text",
"settings": [
{
"key": "text",
"value": "text",
"type": "STRING",
"allowedValues": [
"text"
],
"validationRegex": "text",
"name": "text",
"required": true
}
],
"createdBy": "text",
"createdAt": "2025-10-28T19:03:37.443Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-10-28T19:03:37.443Z"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}The printer path must be either a flowboxPeripheralUid or a print path.
Supported protocols: lpd and jd.
E.g. lpd://192.168.1.4/queuename or jd://192.168.11.2:9100/ or flowbox://flowboxPeripheralUid.
Reference to a tenant.
^[A-Za-z0-9-_]+Example response
POST /v2/tenants/{tenantUid}/printers HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 146
{
"printerUid": "text",
"type": "LABEL",
"path": "text",
"storeUid": "text",
"name": "text",
"description": "text",
"settings": [
{
"key": "text",
"value": "text"
}
]
}Example response
{
"printerUid": "text",
"deviceUids": [
"text"
],
"storeUid": "text",
"name": "text",
"description": "text",
"type": "LABEL",
"path": "text",
"settings": [
{
"key": "text",
"value": "text",
"type": "STRING",
"allowedValues": [
"text"
],
"validationRegex": "text",
"name": "text",
"required": true
}
],
"createdBy": "text",
"createdAt": "2025-10-28T19:03:37.443Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-10-28T19:03:37.443Z"
}Search printers
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
^[A-Za-z0-9-_]*Partial or full printer name search
Example response
POST /v2/tenants/{tenantUid}/printers/search HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"storeUid": "text",
"printerType": "LABEL",
"query": "text"
}Example response
{
"items": [
{
"printerUid": "text",
"deviceUids": [
"text"
],
"storeUid": "text",
"name": "text",
"description": "text",
"type": "LABEL",
"path": "text",
"settings": [
{
"key": "text",
"value": "text",
"type": "STRING",
"allowedValues": [
"text"
],
"validationRegex": "text",
"name": "text",
"required": true
}
],
"createdBy": "text",
"createdAt": "2025-10-28T19:03:37.443Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-10-28T19:03:37.443Z"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}Get printer details
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a printer
^[A-Za-z0-9-_]+Example response
GET /v2/tenants/{tenantUid}/printers/{printerUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"printerUid": "text",
"deviceUids": [
"text"
],
"storeUid": "text",
"name": "text",
"description": "text",
"type": "LABEL",
"path": "text",
"settings": [
{
"key": "text",
"value": "text",
"type": "STRING",
"allowedValues": [
"text"
],
"validationRegex": "text",
"name": "text",
"required": true
}
],
"createdBy": "text",
"createdAt": "2025-10-28T19:03:37.443Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-10-28T19:03:37.443Z"
}The printer path must be either a flowboxPeripheralUid or a print path.
Supported protocols: lpd and jd.
E.g. lpd://192.168.1.4/queuename or jd://192.168.11.2:9100/ or flowbox://flowboxPeripheralUid.
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a printer
^[A-Za-z0-9-_]+^[A-Za-z0-9-_]*Example response
PUT /v2/tenants/{tenantUid}/printers/{printerUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 126
{
"storeUid": "text",
"type": "LABEL",
"path": "text",
"name": "text",
"description": "text",
"settings": [
{
"key": "text",
"value": "text"
}
]
}Example response
{
"printerUid": "text",
"deviceUids": [
"text"
],
"storeUid": "text",
"name": "text",
"description": "text",
"type": "LABEL",
"path": "text",
"settings": [
{
"key": "text",
"value": "text",
"type": "STRING",
"allowedValues": [
"text"
],
"validationRegex": "text",
"name": "text",
"required": true
}
],
"createdBy": "text",
"createdAt": "2025-10-28T19:03:37.443Z",
"lastModifiedBy": "text",
"lastModifiedAt": "2025-10-28T19:03:37.443Z"
}Delete printer
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a printer
^[A-Za-z0-9-_]+No Content
No content
DELETE /v2/tenants/{tenantUid}/printers/{printerUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Test printer
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a printer
^[A-Za-z0-9-_]+Printer test page Created
No content
Test printer 'Bad Request'
POST /v2/tenants/{tenantUid}/printers/{printerUid}/test HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Was this helpful?