Remove Discount
DELETE
/store/carts/{id}/discounts/{code}Remove a Discount from a Cart. This only removes the application of the discount, and not completely deletes it. The totals will be re-calculated and the payment sessions will be refreshed after the removal.
Request
Path Params
id
string
required
The ID of the Cart.
code
string
required
The unique discount code.
Request samples
Responses
OK(200)
Client Error or Multiple Errors(400)
Not Found Error(404)
Invalid State Error(409)
Invalid Request Error(422)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: a year ago