Applies a discount code to a cart. Validates the discount code and applies the appropriate reduction to the cart total based on discount rules.
The unique identifier for the restaurant location
Discount applied successfully
The response is of type object
.