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.

Request

Authentication

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/13/print HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.6.0
Accept-Language: en-US,en;q=0.5

Response

Example response 1

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