Shopping Carts REST Endpoints
Shopping Carts
The Shopping Cart REST APIs to support the Oracle CPQ Shopping Cart features. The Shopping Cart feature is based on user session, therefore, the Shopping Cart REST APIs cannot be used in headless mode.
- Add Selected Items to Quote
- Method: postPath:
/rest/v16/shoppingCarts/{processVarName}/actions/_addToQuote
- Check Out the Selected Items
- Method: postPath:
/rest/v16/shoppingCarts/{processVarName}/actions/_checkout
- Clear a Shopping Cart Item
- Method: deletePath:
/rest/v16/shoppingCarts/{processVarName}/shoppingCartItems/{id}
- Clear All Shopping Cart Items
- Method: postPath:
/rest/v16/shoppingCarts/{processVarName}/actions/_clearItems
- Get All Shopping Cart Items
- Method: getPath:
/rest/v16/shoppingCarts/{processVarName}/shoppingCartItems
- Get All Shopping Cart Layouts
- Method: getPath:
/rest/v16/shoppingCarts/{processVarName}/layouts
- Get List of All Shopping Carts
- Method: getPath:
/rest/v16/shoppingCarts
- Get Most Recent Shopping Cart
- Method: postPath:
/rest/v16/shoppingCarts/actions/_getMostRecentShoppingCart
- Get Shopping Cart
- Method: getPath:
/rest/v16/shoppingCarts/{processVarName}
- Get Shopping Cart (POST)
- Method: postPath:
/rest/v16/shoppingCarts/{processVarName}/actions/_getShoppingCart
- Get Shopping Cart Item
- Method: getPath:
/rest/v16/shoppingCarts/{processVarName}/shoppingCartItems/{id}
- Get Shopping Cart Layout
- Method: getPath:
/rest/v16/shoppingCarts/{processVarName}/layouts/{layoutVarName}
- Return to Quote
- Method: postPath:
/rest/v16/shoppingCarts/{processVarName}/actions/_returnToQuote