applyCheckoutOptionsToCart
Applies checkout options like ticket insurance to a cart.
This mutation allows you to add optional services or features to items in your cart. For example, you might add insurance coverage for tickets.
To see what checkout options are available for a cart, query the Cart.checkoutOptionsFormElements
field. After applying checkout options, you can view the applied options using the
Cart.checkoutOptions field.
The pricing of the cart may change after applying checkout options, so be sure to check the
Cart.grandTotal field in the response.
Arguments
| Argument | Description | Type |
|---|---|---|
| input | ApplyCheckoutOptionsToCartInput! |
Type
This field resolves to ApplyCheckoutOptionsToCartPayload, which has the following fields:
| Field | Description | Type |
|---|---|---|
cart | The updated cart with the applied checkout options. | Cart |