post https://virtserver.swaggerhub.com/purchases/v1/customer//cart//setdiscountcode
Set codes on the cart which may enable a discount. The combination of all parts of the promo code must match a valid combination set up in the system. The combination may provide a discount, if a discount is set up for the combination of sales item and provided codes.
Response Code | Fault Code | Fault | Suggested User Message
------------- | ---------- | ----- | ----------------------
404 | 90040 | NoCartFoundFault | Cart does not exist
500 | 90061 | SystemFailureFault | System Failure, please try again later
404 | 90022 | InvalidDiscountCodeFault | Discount does not exist