Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

POST /api/v2/orders/{orderIdentifier}/print_ticket

This endpoint is used to print a workticket for an order. The order will be printed using the settings for workstation 00.

Accepts

  • An order identifier, which can be the order number, tray number, or purchase order number

    • This order can be retrieved using 72544, 337178, or Example

    • Tray numbers can only be used to look up active orders

    • If lookup is done by po number then you must be using unique values in this field

  • An LPT port to print to. This refers to the LPT settings for workstation 00.

Success

On a successful request the workticket for the order will be printed to the requested printer. An HTTP 201 code will be returned along with an informational message.

{
  "orderNumber": "123456",
  "trayNumber": "31776",
  "poNumber": "SP40KGTA",
  "message": "Printing in process"
}

Error

  • No labels