Get the printable HTML of an order

GET /company/orders/@id/print

Returns HTML on success (JSON on failure or errors). You'll need a browser to convert the HTML to a PDF for printing. Please set the window size smaller than 300 pixels in the browser if you want to print on ticket printers.



This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int The ID of the order you want to get the printable HTML from

Example request 1

GET /company/orders/17/print HTTP/1.1
X-VERSION: 1.5.0
Accept-Language: en-US,en;q=0.5


Example response 1

HTTP/1.1 200 OK
Version update available Please adjust your integration to the latest stable version (1.6.0)
1.5.0 stable