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 |
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 |
GET /company/orders/19/print HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.10.0
Accept-Language: en-US,en;q=0.5
HTTP/1.1 200 OK