Eventjet GraphQL API documentation

applyCustomerDataToCart

Applies customer data (email, name, address, etc.) to a cart.

The customer is the person placing the order and is not necessarily the ticket holder. Use applyTicketHolderDataToCart to attach data about the ticket holders to the cart.

Data is provided as a list of FormValueInput key-value pairs. Passing null for data clears the customer data from the cart. The response includes a validation field with any field-level errors.

Arguments

ArgumentDescriptionType
inputApplyCustomerDataToCartInput!

Type

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

FieldDescriptionType
cartThe updated cart.Cart
validationThe result of validating the provided customer data.CustomerDataValidationResult