Coupons
Remove Coupon
Removes the coupon from the user’s cart and updates the cart items’ prices accordingly.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Successfully removed the coupon.
Indicates the operation was successful.
Example:
true
Confirmation message for the coupon removal.
Example:
"Coupon was successfully removed!"
Always 0 if the coupon was removed.
Example:
0
Type of the discount applied (in this case, always 'coupon').
Example:
"coupon"