Skip to content

Get Print Templates​

GET
/api/v2/print-template

Get Print Templates

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Query Parameters

_limit

Set the max number of print templates to return.

Type
number
Format
"integer"
_offset

Set the number of objects to ignore before starting.

Type
number
Format
"integer"

Responses​

A list of print templates.

Playground​

Authorization
Variables
Key
Value

Samples​


Create a print template​

POST
/api/v2/print-template

Create a print template

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"name": "string",
  
"includeReceipt": true
}

Responses​

Create template Succeeded

Playground​

Authorization
Body

Samples​


Get Print signature for Print print​

GET
/api/v2/print-template/signing

Get Print signature for Print print

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Query Parameters

request*

request to sign

Type
string
Required

Responses​

print printing signature

Playground​

Authorization
Variables
Key
Value

Samples​


Get Print certificate​

GET
/api/v2/print-template/certificate

Get Print certificate

Authorizations​

bearerAuth
Type
HTTP (bearer)

Responses​

print printing certificate

Playground​

Authorization

Samples​


Deletes an existing print template​

DELETE
/api/v2/print-template/{id}

Deletes an existing print template

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The id of the print template

Type
string
Required

Responses​

Deleted print template

Playground​

Authorization
Variables
Key
Value

Samples​


Updates an existing print template​

PATCH
/api/v2/print-template/{id}

Updates an existing custom dasbhboard

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The id of the print template

Type
string
Required

Request Body​

application/json
JSON
"string"

Responses​

Update template succeeded

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Get Print Template commands​

GET
/api/v2/print-template/{id}/command

Get Print Template commands

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The id of the print template

Type
string
Required

Query Parameters

_limit

Set the max number of print commands to return.

Type
number
Format
"integer"
_offset

Set the number of objects to ignore before starting.

Type
number
Format
"integer"

Responses​

A list of print commands.

Playground​

Authorization
Variables
Key
Value

Samples​


Get an Print Template command​

GET
/api/v2/print-template/{id}/command/{commandId}

Get an Print Template command

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The id of the print template

Type
string
Required
commandId*

The id of the print command

Type
string
Required

Responses​

An print command.

Playground​

Authorization
Variables
Key
Value

Samples​


Create a command for an print template​

POST
/api/v2/print-template/{id}/command/{commandId}

Create a command for an print template

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The id of the print template

Type
string
Required
commandId*

The id of the command

Type
string
Required

Request Body​

application/json
JSON
{
  
"type": "string",
  
"data": "string",
  
"font": "string",
  
"orientation": "string",
  
"row": 0,
  
"column": 0,
  
"height": 0,
  
"width": 0,
  
"boxHeight": 0,
  
"boxWidth": 0,
  
"raw": "string"
}

Responses​

Create command Succeeded

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Deletes an existing print command​

DELETE
/api/v2/print-template/{id}/command/{commandId}

Deletes an existing print command

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The id of the print template

Type
string
Required
commandId*

The id of the print command

Type
string
Required

Responses​

Deleted print command

Playground​

Authorization
Variables
Key
Value

Samples​


Updates an existing print command​

PATCH
/api/v2/print-template/{id}/command/{commandId}

Updates an existing print command

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

The id of the print template

Type
string
Required
commandId*

The id of the print command

Type
string
Required

Request Body​

application/json
JSON
"string"

Responses​

Update command succeeded

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Render the Print Code from the template using the data from the ticketId specified​

GET
/api/v2/print-template/render/{ticketId}

Render the Print Code from the template using the data from the ticketId specified

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

ticketId*

The id of the ticket to render with the template

Type
string
Required

Query Parameters

id

The id of the print template - optional - normal template lookup will occur otherwise (ticketType template, event template or site template)

Type
string

Responses​

A list of printer commands.

Playground​

Authorization
Variables
Key
Value

Samples​


Powered by VitePress OpenAPI