Updates an existing cart or creates new cart as per provided model.
1 min
PUT
http://localhost:65349//api/episerver/v2.0/carts/{cartId}
cartIdstring<uuid>The cart id.
acceptstringGenerated from available response content types
bodyobjectThe cart model.
200OK
400Bad Request
403Forbidden
curl --request PUT \
--url http://localhost:65349//api/episerver/v2.0/carts/{cartId} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"Name": "",
"Market": "",
"Currency": "",
"Shipments": [
{
"LineItems": [
{
"Quantity": ""
}
]
}
]
}'