CheckoutOptionsInput
Input object
Input for specifying checkout options.
This input is used to specify checkout options like ticket insurance that can be applied to a cart. Each checkout option has a unique key (e.g., "insurance") and associated form data.
This type is used as part of the ApplyCheckoutOptionsToCartInput when applying checkout options to a cart. The
available options and their required form fields can be determined by querying the
Cart.checkoutOptionsFormElements field.
Example usage:
{
key: "insurance",
data: [
{ name: "coverage", value: "standard" },
{ name: "acceptTerms", value: "true" }
]
}
Fields
| Field | Description | Type |
|---|---|---|
data | The form values for the checkout option. | [ FormValueInput! ]! |
key | The key identifying the type of checkout option, e.g., "insurance". | String! |