Eventjet GraphQL API documentation

cart

The cart after applying the discount code.

Arguments

cart doesn't take any arguments.

Type

This field resolves to Cart, which has the following fields:

FieldDescriptionType
appliedCodesThe discount codes that have been applied to the cart.[ String! ]
customerDataCustomerData
customerDataIsValidBoolean!
events[ Event! ]!
expiresDate!
grandTotalMoney!
hasDiscountsBoolean!
idID!
isEmptyBoolean!
itemGroupsThe cart items grouped by context, such as the event they belong to.[ CartItemGroup! ]!
itemsA flat list of all items in the cart.[ CartItem! ]!
numberOfEventsInt!
numberOfItemsThe number of items the customer has added to their cart. Does *not* include items that were added automatically, like free giveaways or fees.Int!
paymentMethodsThe payment methods that are available for the cart.[ PaymentMethod ]
ticketHolderForms[ TicketHolderForm! ]!
ticketHolders[ CartTicketHolder! ]!
checkoutOptionsFormElementsGet checkout options form elements for cart.[ FormElement! ]!
checkoutOptionsGet checkout options data for the cart.[ KeyValuePair! ]!