Documentation is still being updated. Some content maybe unfinished.
cURL
curl --request DELETE \ --url {protocol}://{host}/wp-json/cocart/v1/coupon \ --header 'Content-Type: application/json' \ --data ' { "coupon": "<string>" } '
{ "message": "<string>", "coupon": "<string>", "response": true }
Remove a coupon from the cart using the coupon code.
Coupon code to remove.
Coupon removed successfully.
Was this page helpful?