Apply Coupon
Applies a coupon code to the cart. The discount is calculated and reflected in the cart response.Request
Response
Returns the full cart object withcouponData populated:
Coupon Types
| Type | Description | Example |
|---|---|---|
P | Percentage off | ”10% OFF” |
F | Fixed store credit | ”$5 STORE CREDIT” |
S | Promo credit | ”$10 PROMO CREDIT” |
Error Response
Remove Coupon
Removes a previously applied coupon from the cart.Request
Response
Returns the full cart object withcouponData set to null.
Notes
- Only one coupon can be applied per cart
- Some coupons are restricted to specific merchants or account types
- Coupon discount is calculated against the current cart contents
- A
warningMessagefield may appear if the coupon only partially applies