Print Request Model (IPrintRequest)

IPrintRequest (Main Payload)

The root object containing metadata about the check, the destination printer, and the visual styling of the ticket.

FieldTypeDescription
venueIdstringRequired. The ID of the physical location.
checkIdstringRequired. Unique identifier for the financial check.
checkNumbernumberRequired. The human-readable number assigned to the check.
printSessionIdstringRequired. Unique ID for the current batch of items being sent.
itemsArrayRequired. A list of IPrintRequestItem objects (see below).
statusstringCurrent status of the job (e.g., PENDING, PRINTED).
isForwardedbooleanIndicates if this request was rerouted from another device.
backgroundColorstringHex code for UI/KDS background styling.
textColorstringHex code for UI/KDS text styling.
printerDeviceIdstringThe ID of the target hardware printer.
instructionsArraySpecific hardware instructions (cut, beep, logo).

Implementation Details

1. Recursive Modifiers

Items utilize the childItems array to represent a tree structure. For example, a "Burger" item would contain childItems for "Add Cheese" or "No Onions."

2. Status Handling

The status and kdsStatus fields use the PRINT_JOB_STATUS enum. Integrators should specifically watch for VOID statuses to trigger cancellation logic in downstream systems.

3. Visual Styling

The backgroundColor and textColor fields are provided for integrations with Kitchen Display Systems (KDS) or digital screens to ensure brand consistency or to highlight specific order types (e.g., Delivery vs. Dine-In).