Creates a new cart.
1 min
POST
http://localhost:64424/episerverapi/commerce/carts
acceptstringGenerated from available response content types
bodyobjectCart model.
200The cart is saved.
400If the cart model is not valid.
401If user does not have enough permission for this request.
501Serializable carts feature is enabled and that feature is not supported here.
curl --request POST \
--url http://localhost:64424/episerverapi/commerce/carts \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"Name": ""
}'