Creates a checkout from the current site visitor's cart.
If a checkout was already created from the current cart, that checkout will be updated with any new information from the cart.
Note:
channelType
is a required field.Required. Sales channel type.
Shipping address. Used for calculating tax and shipping (when applicable).
Billing address. Used for calculating tax if all the items in the cart are not shippable.
Selected shipping option.
Mandatory when setting billing or shipping address and user is not logged in.
The newly created checkout's ID.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.