Creates a checkout.
The createCheckout()
function returns a Promise that resolves to the new checkout when it's created.
Notes:
options.lineItems
array.options.channelType
is required._id
for options.lineItems
is added, make sure that each _id
is unique.options.checkoutInfo.customFields
are added, then options.checkoutInfo.customFields.value
is required.
Checkout creation options.