Clear All Shopping Cart Items

post

/rest/v16/shoppingCarts/{processVarName}/actions/_clearItems

TThis endpoint clears all shopping cart items from the shopping cart. Hiding the clear items button for the process does not disable this endpoint, it only hides the button.

Request

Path Parameters
Back to Top

Response

Default Response

OK
Back to Top

Examples

The following example shows how to clear all shopping cart items from the shopping cart by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.

curl - X GET - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/shoppingCarts/transaction/actions/_clearItems
Back to Top