Orders

Print POS receipt

Use this endpoint to print a summary of the given order to an Esc/Pos printer connected to Trybe via a EscPosConnector.

post/shop/orders/{orderId}/print-pos-receipt

Request body

esc_pos_connector_idstring uuid required

Identifier of the EscPosConnector (receipt printer) to send the rendered receipt to. The connector must belong to the same site as the order.

Response

Response schema for printing a POS receipt for an order

messagestring required

A message confirming that the receipt was printed successfully.

previewstring nullable required

An HTML string of the reciept preview if the preview field was set to true in the request body. Only available for internal users, will always be null otherwise.

Changes

No recorded changes to this endpoint across all 1 revision of this API.