Create print

Create print (binary ESC/POS)

POST
/api/workspace/{slug}/prints

Create print (binary ESC/POS)

Path Parameters

slug*string

Query Parameters

printKey?string
Lengthlength <= 200
deviceId?string
Lengthlength <= 200
label?string
Lengthlength <= 200
quantity?integer
width?integer

Receipt render width in monospace character columns

Range24 <= value <= 80

Request Body

application/octet-stream

TypeScript Definitions

Use the request body type in TypeScript.

body*file
Formatbinary

Response Body

application/json

curl -X POST "https://example.com/api/workspace/string/prints" \  -H "Content-Type: application/octet-stream" \  -d 'string'
{
  "id": 0,
  "printKey": "string",
  "workspaceId": 0,
  "userId": 0,
  "deviceId": "string",
  "label": "string",
  "tag": {
    "property1": "string",
    "property2": "string"
  },
  "quantity": 0,
  "width": 0,
  "testPrint": true,
  "deleted": true,
  "deletedAt": "string",
  "createdAt": "string",
  "updatedAt": "string"
}