Eventjet GraphQL API documentation

cart

The updated cart with the applied checkout options.

Arguments

cart doesn't take any arguments.

Type

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

Deprecated fields are hidden.
FieldDescriptionType
acceptsGiftCardsIndicates whether gift cards can be applied to this cart.Boolean
amountDueThe amount that still has to be paid after the applied gift cards.Money
appliedCodesThe discount codes that have been applied to the cart.[ String! ]
appliedGiftCardsThe gift cards that have been applied to the cart, in the order they were applied.[ AppliedGiftCard ]
checkoutOptionsGet checkout options data for the cart.[ KeyValuePair! ]!
checkoutOptionsFormElementsGet checkout options form elements for cart.[ FormElement! ]!
customerDataCustomer data applied to this cart via `applyCustomerDataToCart`, if any. Null if no customer data has been provided yet.CustomerData
customerDataIsValidWhether the current customer data passes all validation rules.Boolean!
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! ]!