Creates a checkout from a cart.
If a checkout for the specified cart already exists, that checkout is updated with any new information from the cart.
Note: channelType
is a required field.
Cart ID.
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.
Required when setting a billing or shipping address if the site visitor isn't logged in.
The newly created checkout's ID.
curl -X POST \
'https://www.wixapis.com/ecom/v1/carts/f97a2939-b1f3-41f2-9fc5-7ecea2060991/create-checkout' \
-H 'Authorization: <AUTH>' \
-H 'Content-Type: application/json' \
--data-binary '{
"channelType": "EBAY"
}'
{
"checkoutId": "8e5a223d-f53a-431a-8d9d-3f0c5536e916"
}
There are 4 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.