Create a checkout event.
checkoutId
ID of the checkout or order that triggered the event.
type
The type of checkout event.
Returns CheckoutEventTriggered .