Calculate and reserve one coupon
quote_single_couponValidates a known coupon against the current cart, calculates authoritative totals, and creates a temporary quote reservation before redemption or final discount display.
Instructions
Validate a known coupon code against the current cart, calculate authoritative totals, and create a temporary quote reservation. Use before redeeming or displaying a final discount. Do not use for catalog discovery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | No | ||
| context | Yes | ||
| coupon_code | Yes | Coupon code supplied or selected for the customer. |