Skip to main content

Ticket

Ticket entity representing a support or service request within the system. Contains all necessary information for ticket management and tracking.

type Ticket {
id: ID!
titles: [LocalizedString!]!
descriptions: [LocalizedString!]
buttonLabels: [LocalizedString!]
type: String
status: TicketStatus!
assignedToAdminUserId: Int
contactId: Int
customerId: Int
productId: Int
clusterId: Int
orderId: Int
companyId: Int
email: String
phone: String
externalUrl: String
sources: [Source!]
createdAt: DateTime!
lastModifiedAt: DateTime!
pickedUpAt: DateTime
completedAt: DateTime
lastModifiedByAdminUserId: Int
createdByAdminUserId: Int
assignedToAdminUser: AdminUser
}

Fields

Ticket.id ● ID! non-null scalar

Unique identifier for the ticket. Used for internal system references and relationships.

Ticket.titles ● [LocalizedString!]! non-null object

Localized human-readable titles. Provides user-friendly titles in multiple languages for display in user interfaces and documentation. Each entry contains a language code and the corresponding description text.

Ticket.descriptions ● [LocalizedString!] list object

Localized human-readable descriptions. Provides user-friendly explanations in multiple languages for display in user interfaces and documentation. Each entry contains a language code and the corresponding description text.

Ticket.buttonLabels ● [LocalizedString!] list object

Localized human-readable labels for the action button. Each entry contains a language code and the corresponding description text.

Ticket.type ● String scalar

Type of the ticket. Used for categorization and filtering purposes. Maximum length of 255 characters. Must be in SCREAMING_SNAKE_CASE.

Ticket.status ● TicketStatus! non-null enum

Status of the ticket. Used for tracking the lifecycle of the ticket. One of: [OPEN, IN_PROGRESS, COMPLETED, ARCHIVED

Ticket.assignedToAdminUserId ● Int scalar

Identifier of the admin user assigned to this ticket. Used for task assignment and accountability.

Ticket.contactId ● Int scalar

Identifier of the contact associated with this ticket. Used for customer context and communication.

Ticket.customerId ● Int scalar

Identifier of the customer associated with this ticket. Used for customer context and communication.

Ticket.productId ● Int scalar

Identifier of the product associated with this ticket. Used for product-specific context and support.

Ticket.clusterId ● Int scalar

Identifier of the cluster associated with this ticket. Used for cluster-specific context and support.

Ticket.orderId ● Int scalar

Identifier of the order associated with this ticket. Used for order-specific context and support.

Ticket.companyId ● Int scalar

Identifier of the company associated with this ticket. Used for company-specific context and support.

Ticket.email ● String scalar

Email address of the contact associated with this ticket. Used for customer communication.

Ticket.phone ● String scalar

Phone number of the contact associated with this ticket. Used for customer communication.

Ticket.externalUrl ● String scalar

External URL associated with this ticket. Used for linking to external resources or documentation.

Ticket.sources ● [Source!] list object

External sources of the ticket. Used for tracking the origin of the ticket.

Ticket.createdAt ● DateTime! non-null scalar

Timestamp when the ticket was created. Used for auditing and chronological ordering.

Ticket.lastModifiedAt ● DateTime! non-null scalar

Timestamp when the ticket was last modified. Updated automatically on any channel changes.

Ticket.pickedUpAt ● DateTime scalar

Timestamp when the ticket was picked up by an admin user. Updated automatically when the status changes to IN_PROGRESS.

Ticket.completedAt ● DateTime scalar

Timestamp when the ticket was completed. Updated automatically when the status changes to COMPLETED.

Ticket.lastModifiedByAdminUserId ● Int scalar

Identifier of the admin user who last modified this ticket. Used for audit trails and accountability.

Ticket.createdByAdminUserId ● Int scalar

Identifier of the admin user who created this ticket. Used for audit trails and accountability.

Ticket.assignedToAdminUser ● AdminUser object

Returned By

ticket query ● ticketCreate mutation ● ticketUpdate mutation

Member Of

AdminUser object ● TicketResponse object