Eventjet GraphQL API documentation

Eventjet GraphQL API documentation

Welcome to the documentation for our GraphQL API.

The Endpoint of the API is https://lux.eventjet.at/graphql. If you have any questions, feel free to contact us at support@eventjet.at.

To learn the basics about GraphQL itself, visit the official GraphQL documentation.

Root Fields

Query

FieldDescriptionType
cartGet a cart by its ID (`Cart.id`).Cart
checkEmailChecks if the given email address is likely to have a typo and resolves to suggestions for the correct emailCheckEmailResult
checkinTargetsLists all check-in targets of the source identified by the given scan code.[ CheckinTarget! ]!
checkinTargetSourceResolves the check-in source a scan code identifies, together with its check-in targets.CheckinTargetSource!
checkTicketPasswordChecks whether a ticket password exists for an event.CheckTicketPasswordResult
companyGet an organizer's account by its ID (`Company.id`).Company
discountGet a single discount by its ID (`Discount.id`).Discount
discountGroupGet a discount group by its ID (`DiscountGroup.id`).DiscountGroup
eventGet an event by its ID (`Event.id`).Event
eventCategoriesResolves the top-level categories that events can be assigned to.[ EventCategory! ]!
eventsLists events hosted by the organizers the authenticated account is connected to.EventConnection!
federatedEventsLists events that their organizers have published to at least one external platform.EventConnection!
formGet a form by its ID (`Form.id`).Form
meGet the currently authenticated user.User
orderStatusReads the current status of an order placed with `Mutation.placeOrder`.OrderStatus
paymentLinkGet a payment link by its code (`PaymentLink.code`).PaymentLink
posPaymentStatusForSaleReads the current state of the POS payment attached to a sale.PosPaymentStatusForSalePayload
predefinedFormElementsLists the predefined form elements that can be added to a form.[ FormElement! ]!
reportReturns a `Report` for a given report type or a previously obtained `Report.id`.Report
reportViewsReturns all report views available to the current user, including system defaults and user-saved views.[ ReportView ]
seatmapGet a seatmap by its ID (`Seatmap.id`).Seatmap
seatmapSchemeGet a seatmap scheme by its ID (`SeatmapScheme.id`).SeatmapScheme
shopGet a shop by its slug.Shop
shopsResolves shops that currently list at least one event.[ Shop ]
ticketGet a single ticket by its scan code (`Ticket.scanCode`).Ticket
ticketsLists the tickets of all events hosted by the companies you belong to.TicketConnection!

Mutation

FieldDescriptionType
addSeatToCartAdds a seat to a cart.AddSeatToCartPayload
addSeatToSaleAdds a specific seat from a seatmap to a sale. Each call adds one seat.AddSeatToSalePayload
applyCheckoutOptionsToCartApplies checkout options like ticket insurance to a cart.ApplyCheckoutOptionsToCartPayload
applyCodeToNewCartCreates a new cart and applies a discount code to it.ApplyCodeToNewCartPayload
applyCustomerDataToCartApplies customer data (email, name, address, etc.) to a cart.ApplyCustomerDataToCartPayload
applyCustomerDataToSaleApplies customer data (email, name, address, etc.) to a sale.ApplyCustomerDataToSalePayload
applyDiscountCodeApplies a discount code to a cart.ApplyDiscountCodePayload
applyTicketHolderDataToCartAttaches data about the ticket holders to a cart.ApplyTicketHolderDataToCartPayload
applyWirecardResponseSupport for this payment integration was removed; this mutation always resolves to `null`.ApplyWirecardResponsePayload
attributeCartAdds attribution data (source, medium, campaign, etc.) to a cart.AttributeCartPayload
cancelPaymentLinkCancels a payment link, preventing it from being used again.CancelPaymentLinkPayload
cancelPosPaymentForSaleCancels a POS card reader payment for a sale.CancelPosPaymentForSalePayload
cancelSaleCancels a sale.CancelSalePayload
changeDiscountConstraintsChanges the constraints of a discount.ChangeDiscountConstraintsPayload
changeSeatTicketTypeChanges the ticket type of a seat that is already in a cart.ChangeSeatTicketTypePayload
checkInChecks in tickets and reports the outcome of each one separately.[ CheckinResult! ]!
completeSaleCompletes/finalizes a sale.CompleteSalePayload
confirmPaymentLinkNever implemented; this mutation always resolves to `null`.ConfirmPaymentLinkPayload
consumeCartFlashMessagesConsumes flash messages that were added to the cart.[ FlashMessage! ]!
createDiscountCreates a single discount code with a code string that you choose yourself.CreateDiscountPayload
createFormCreates a new form.CreateFormPayload
createReportViewSaves a report configuration as a new view for the current user.CreateReportViewPayload
createReservationCreates a new `Sale`.CreateReservationPayload
createSaleCreates a new box office sale.CreateSalePayload
createTagCreates a new tag.CreateTagPayload
createTagAndTagSubjectCreates a tag and attaches it to a subject in one step.CreateTagAndTagSubjectPayload
deleteDiscountDeletes a discount so that its code can no longer be redeemed.DeleteDiscountPayload
deleteReportViewDeletes a user-created `ReportView`.DeleteReportViewPayload
deleteTagDeletes a tag.DeleteTagPayload
extendCartExpirationPushes a cart's expiration time (`Cart.expires`) further into the future.ExtendCartExpirationResult!
generateDiscountCodesGenerates a batch of codes with random code strings and bundles them in a new `DiscountGroup`.GenerateDiscountCodesPayload
initiatePosPaymentForSaleInitiates a POS card reader payment for a sale.InitiatePosPaymentForSalePayload
modifyDiscountGroupConstraintsReplaces the constraints of every discount in a discount group in one call.ModifyDiscountGroupConstraintsPayload
modifyFormChanges the name and the elements of an existing form.ModifyFormPayload
modifyReportViewModifies an existing user-created `ReportView`.ModifyReportViewPayload
payPaymentLinkStarts a payment for a payment link so the customer can settle its balance.PayPaymentLinkPayload
placeOrderTurns a cart into an order, optionally creating a payment over the full order total.PlaceOrderPayload
removeDiscountCodeFromCartRemoves a previously applied discount code from a cart.RemoveDiscountCodeFromCartPayload
removeItemFromCartRemoves an item from a cart by its `CartItem.id`.RemoveItemFromCartResult!
removeItemFromSaleRemoves an item from a sale.RemoveItemFromSalePayload
removeSeatFromCartRemoves a single seat from a cart, addressed by its seatmap and seat ID.RemoveSeatFromCartPayload
renameDiscountGroupRenames a discount group.RenameDiscountGroupPayload
setCartItemQuantitySets how many tickets of one ticket type a cart contains, creating the cart if needed.SetCartItemQuantityResult!
setCartVolumeQuantitiesSets ticket quantities for one general admission area of a seatmap, creating the cart if needed.SetCartVolumeQuantitiesPayload
setDiscountStatusActivates or deactivates a discount.SetDiscountStatusPayload!
setSaleItemQuantitySets item quantities on a sale by ticket type. Used for ticket types that are not associated with a seatmap.SetSaleItemQuantityPayload
setSalePaymentTypeSets the payment type for a sale.SetSalePaymentTypePayload
setSaleVolumeQuantitiesSets volume-based ticket quantities on a sale.SetSaleVolumeQuantitiesPayload
setShopMarketingCodesChanges marketing codes for the given shop. This mutation requires authentication.SetShopMarketingCodesResponse!
startWirecardPaymentSessionSupport for this payment integration was removed; this mutation always resolves to `null`.StartWirecardPaymentSessionPayload
tagAdds a tag to a `TagSubject`.TagPayload
untagRemoves a tag from a `TagSubject`.UntagPayload