createCheckout( )


Creates a checkout from a cart.

The createCheckout() function returns a Promise that resolves to the new checkout's ID when it's created.

If a checkout was already created from the specified cart, that checkout will be updated with any new information from the cart.

Note: options.channelType is a required field.

Permissions
Manage eCommerce - all permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
_idstringRequired

Cart ID.


optionsCreateCheckoutOptions

Checkout creation options.

Returns
Return Type:Promise<CreateCheckoutResponse>
Did this help?