Printer
Working with printers in Menuflow
Last updated
Working with printers in Menuflow
Last updated
The printer API calls are specific to Kitchen printers that are pre-registered to a location using the The following API calls allow your applications to retrieve details of the available printers and the ability to send a print job to a specific printer and get the print job status.
Call to retrieve the full details of available printers.
GET
https://api.menuflow.dev/go/printer/{location_id}
curl --location 'https://api.menuflow.dev/go/printer/{
location_id}'
--header 'x-api-key: YOUR-API-KEY'
location_id*
integer
Location_id where the printers are registered.
Call to send
POST
https://api.menuflow.dev/go/printer/{serial_no}
curl --request POST --location 'https://api.menuflow.dev/go/printer/{order_id}'
--header 'x-api-key: YOUR-API-KEY'
--data '{ "location_id":1220,"serial_no": "VB129038210" }'
serial_no*
sting
serial_no of the printer that should print the order sent as JSON
order_id*
integer
order_id of the order to print
location_id*
integer
location_id of where the order should be printed sent as JSON
API call to get the status of a specific print job.
GET
https://api.menuflow.dev/go/printer/{printjob_id}/printjob
url --location 'https://api.menuflow.dev/go/printer/{printjob
_id/printjob}/printjob'
--header 'x-api-key: YOUR-API-KEY'
printjob_id
integer
printjob_id that you wish to get the print status.