Logo
Salesforce Developers API Documentation

Delete cart (if needed)

DELETE {{orgUrl}}/services/data/v{{apiVersion}}/commerce/webstores/{{webstoreId}}/carts/:cartId

Delete the Cart, as identified by the variable _cartId. This variable is set in the Create a cart request. (Note: This request is not needed the first time it is executed.)

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X DELETE '/services/data/v57.0/commerce/webstores//carts/:cartId'

ENDPOINTS