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
| Argument | Description | Type |
|---|---|---|
| input | ApplyCustomerDataToCartInput! |
Type
This field resolves to ApplyCustomerDataToCartPayload, which has the following fields:
| Field | Description | Type |
|---|---|---|
cart | The updated cart. | Cart |
validation | The result of validating the provided customer data. | CustomerDataValidationResult |