Printer
List Printers
List all printers with pagination and filtering options.
Authorization
API-TOKEN API-TOKEN<token>
Your partner API key. Send it in the API-TOKEN header on every request.
In: header
Header Parameters
X-API-Version*string
API contract version to target. See the Changelog for what changed in each version.
Default
"2.0.0"Value in
"2.3.0" | "2.2.0" | "2.1.0" | "2.0.0"Request Body
application/json
page?|
Must be at least 1.
per_page?|
Must be at least 1.
search?|
sort?|
includes*array<>
filter?
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.flavours.sa/dev/api/v2/printers" \ -H "X-API-Version: 2.3.0" \ -H "Content-Type: application/json" \ -d '{ "includes": [ "ex" ] }'{
"meta": {
"code": 200,
"status": "success",
"message": "Printer list retrieved successfully."
},
"data": {
"current_page": 1,
"data": [
{
"id": 5,
"market_id": "eef0da10-dd19-4a4c-ab3d-23dd1b548801",
"branch_id": null,
"printer_type_id": 1,
"target": "ORDER",
"name": "Impedit praesentium Printer",
"ip": "216.213.207.53",
"copy": 1,
"is_active": true,
"created_at": 1792593343138,
"updated_at": 1792593343138,
"service_type": "RECEIPT",
"paper_width": "80",
"font_size": null,
"settings": {
"MULTILINGUAL": false,
"PRODUCT_SHOW": false,
"DRAWER_OPEN": false,
"PRINT_POSTPAID": false,
"PRINT_IMAGE": false,
"PRINT_AUTO": false,
"APP_TO_APP": false,
"HAS_SPACE": false,
"RASTER": true,
"PDF": false
},
"add_space": false
},
{
"id": 4,
"market_id": "eef0da10-dd19-4a4c-ab3d-23dd1b548801",
"branch_id": null,
"printer_type_id": 1,
"target": "ORDER",
"name": "Voluptas a Printer",
"ip": "164.201.173.0",
"copy": 1,
"is_active": true,
"created_at": 1792593343138,
"updated_at": 1792593343138,
"service_type": "RECEIPT",
"paper_width": "80",
"font_size": null,
"settings": {
"MULTILINGUAL": false,
"PRODUCT_SHOW": false,
"DRAWER_OPEN": false,
"PRINT_POSTPAID": false,
"PRINT_IMAGE": false,
"PRINT_AUTO": false,
"APP_TO_APP": false,
"HAS_SPACE": false,
"RASTER": true,
"PDF": false
},
"add_space": false
},
{
"id": 3,
"market_id": "eef0da10-dd19-4a4c-ab3d-23dd1b548801",
"branch_id": null,
"printer_type_id": 1,
"target": "ORDER",
"name": "Non dolor Printer",
"ip": "104.217.186.93",
"copy": 1,
"is_active": true,
"created_at": 1792593343138,
"updated_at": 1792593343138,
"service_type": "RECEIPT",
"paper_width": "80",
"font_size": null,
"settings": {
"MULTILINGUAL": false,
"PRODUCT_SHOW": false,
"DRAWER_OPEN": false,
"PRINT_POSTPAID": false,
"PRINT_IMAGE": false,
"PRINT_AUTO": false,
"APP_TO_APP": false,
"HAS_SPACE": false,
"RASTER": true,
"PDF": false
},
"add_space": false
},
{
"id": 2,
"market_id": "eef0da10-dd19-4a4c-ab3d-23dd1b548801",
"branch_id": null,
"printer_type_id": 1,
"target": "ORDER",
"name": "Qui vitae Printer",
"ip": "174.54.27.151",
"copy": 1,
"is_active": true,
"created_at": 1792593343138,
"updated_at": 1792593343138,
"service_type": "RECEIPT",
"paper_width": "80",
"font_size": null,
"settings": {
"MULTILINGUAL": false,
"PRODUCT_SHOW": false,
"DRAWER_OPEN": false,
"PRINT_POSTPAID": false,
"PRINT_IMAGE": false,
"PRINT_AUTO": false,
"APP_TO_APP": false,
"HAS_SPACE": false,
"RASTER": true,
"PDF": false
},
"add_space": false
},
{
"id": 1,
"market_id": "eef0da10-dd19-4a4c-ab3d-23dd1b548801",
"branch_id": null,
"printer_type_id": 1,
"target": "ORDER",
"name": "Voluptates ut Printer",
"ip": "40.54.106.190",
"copy": 1,
"is_active": true,
"created_at": 1792593343138,
"updated_at": 1792593343138,
"service_type": "RECEIPT",
"paper_width": "80",
"font_size": null,
"settings": {
"MULTILINGUAL": false,
"PRODUCT_SHOW": false,
"DRAWER_OPEN": false,
"PRINT_POSTPAID": false,
"PRINT_IMAGE": false,
"PRINT_AUTO": false,
"APP_TO_APP": false,
"HAS_SPACE": false,
"RASTER": true,
"PDF": false
},
"add_space": false
}
],
"first_page_url": "https://localhost:8000/api/v2/printers?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://localhost:8000/api/v2/printers?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "https://localhost:8000/api/v2/printers?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "https://localhost:8000/api/v2/printers",
"per_page": 20,
"prev_page_url": null,
"to": 5,
"total": 5
}
}{
"meta": {
"code": 401,
"status": "error",
"message": "Unauthenticated."
},
"data": null
}{
"meta": {
"code": 403,
"status": "error",
"message": "Unauthorized."
},
"data": null
}{
"meta": {
"code": 404,
"status": "error",
"message": "Resource not found."
},
"data": null
}{
"meta": {
"code": 500,
"status": "error",
"message": "Internal server error."
},
"data": null
}