Shelf Tickets
Object
AdminTicketTemplatePage
| Fields | Type | Description |
|---|---|---|
|
id |
Int! |
The ID of the ticket template |
|
name |
String! |
The name of the ticket template |
|
folder |
String! |
The folder the ticket template exists in |
|
horizontalPanels |
Int! |
The number of ticket template panels horizontally |
|
verticalPanels |
Int! |
The number of ticket template panels vertically |
|
pageWidth |
Float! |
The width of the page (in millimeters) |
|
pageHeight |
Float! |
The height of the template panel on a page (in millimeters) |
|
pageMargin |
String! |
The margin of the page (formatted as a CSS margin) |
|
horizontalPanelSpacing |
Float! |
The spacing between the panels horizontally (in millimeters) |
|
verticalPanelSpacing |
Float! |
The spacing between the panels vertically (in millimeters) |
|
cuttingWidth |
Float! |
The width of the cutting line to display (in millimeters), this will be overlaid on the tickets |
|
mapped |
The id of the mapped ticket template page for this vendor, returns null if not mapped |
Object
AdminTicketTemplate
| Fields | Type | Description |
|---|---|---|
|
id |
Int! |
The ID of the ticket template |
|
name |
String! |
The name of the ticket template |
|
folder |
String! |
The folder the ticket template exists in |
|
styles |
String! |
The styles to apply to the ticket template (in CSS) |
|
transformationScript |
String! |
The transformation script to use (in JavaScript) |
|
width |
Float! |
The width of the template panel on a page (in millimeters) |
|
height |
Float! |
The height of the template panel on a page (in millimeters) |
|
fonts |
The fonts used by the template |
|
|
options |
The options for the templates, this is in the format |
|
|
fieldsTracked |
[String!]! |
The fields tracked by the template |
|
mapped |
The id of the mapped ticket template for this vendor, returns null if not mapped |
Object
PrintableTemplate
| Fields | Type | Description |
|---|---|---|
|
quantity |
Int! |
The suggested number of tickets to print |
|
template |
The suggested template to print |
Object
ShelfTicket
Object
TicketTemplatePage
| Fields | Type | Description |
|---|---|---|
|
id |
The ID of the ticket template |
|
|
name |
String! |
The name of the ticket template |
|
horizontalPanels |
Int! |
The number of ticket template panels horizontally |
|
verticalPanels |
Int! |
The number of ticket template panels vertically |
|
pageWidth |
Float! |
The width of the page (in millimeters) |
|
pageHeight |
Float! |
The height of the template panel on a page (in millimeters) |
|
pageMargin |
String! |
The margin of the page (formatted as a CSS margin) |
|
horizontalPanelSpacing |
Float! |
The spacing between the panels horizontally (in millimeters) |
|
verticalPanelSpacing |
Float! |
The spacing between the panels vertically (in millimeters) |
|
cuttingWidth |
Float! |
The width of the cutting line to display (in millimeters), this will be overlaid on the tickets |
|
mapped |
The ticket template page this is mapped to from the admin interface, if this is a custom page this value will be |
Object
TicketTemplate
| Fields | Type | Description |
|---|---|---|
|
id |
The ID of the ticket template |
|
|
name |
String! |
The name of the ticket template |
|
styles |
String! |
The styles to apply to the ticket template (in CSS) |
|
transformationScript |
String! |
The transformation script to use (in JavaScript) |
|
width |
Float! |
The width of the template panel on a page (in millimeters) |
|
height |
Float! |
The height of the template panel on a page (in millimeters) |
|
fonts |
The fonts used by the template |
|
|
fieldsTracked |
[String!]! |
The fields tracked by the template |
|
mapped |
The ticket template this is mapped to from the admin interface, if this is a custom ticket this value will be |
|
|
options |
The options this ticket template is using, it's formatted as |
Object
Ticket
| Fields | Type | Description |
|---|---|---|
|
id |
The ID of the ticket |
|
|
outlet |
The Outlet that this ticket is for |
|
|
user |
The User that added the ticket |
|
|
queuedAt |
The time that the ticket was added to the queue |
|
|
item |
The item that this ticket is for |
|
|
templates |
The suggested templates for this ticket |
|
|
reasons |
The reasons that this ticket was created |