This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a new checkout based on the checkout template.
Before using this function, you must have a checkout template available. Create a checkout template with createCheckoutTemplate()
.
The customer can be directed to the new checkout using the checkout's checkoutUrl
.
ID of the checkout template to use to create a checkout from.
ID of the site associated with the checkout template.