Calculate and reserve multiple coupons
quote_multiple_couponsValidate and calculate 2–10 coupon codes for a cart, either stacking them in supplied order or applying the per-product discount selection; all codes must be eligible and applied.
Instructions
Validate and calculate 2–10 known coupon codes. code_order stacks sequentially in supplied order; highest_discount_per_product applies only the best coupon to each product. Every supplied code must be eligible and applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | No | ||
| context | Yes | ||
| selection | Yes | ||
| coupon_codes | Yes |