Loading...
Area: Optimizely Content Delivery API
Applies to versions: 2.9.0 and higher

CartApi

Recommended reading 
get/api/episerver/v2.0/carts/{cartId}Gets a cart.
put/api/episerver/v2.0/carts/{cartId}Updates an existing cart or creates new cart as per provided model.
delete/api/episerver/v2.0/carts/{cartId}Deletes a cart as per given cartId
post/api/episerver/v2.0/cartsCreates new cart as per provided model.
post/api/episerver/v2.0/carts/{cartId}/converttoorderCreates an order, returns an order model and location for the resource created in the header.
post/api/episerver/v2.0/carts/{cartId}/preparecheckoutValidates cart and returns information related to cart totals, validation messages.
Do you find this information helpful? Please log in to provide feedback.

Last updated: Mar 23, 2021

Recommended reading