CouponEffect
object type
The discount-flavor effect: kind ∈ {percent_off, amount_off} ONLY. percent_off reduces EACH matched line by the ppm on its position-2 running subtotal; amount_off is ONE order-wide figure allocated largest-remainder across the matched lines. minSubtotalMinor gates on the Σ matched running subtotal (a miss = VALIDATION/COUPON_INELIGIBLE); productScope narrows the matched lines (absent = all product lines).
Fields
| Field | Type | Notes |
|---|---|---|
kind | PromotionEffectType PromotionEffectType! | No further notes. |
percentPpm | Int | No further notes. |
amountMinor | Int | No further notes. |
minSubtotalMinor | Int | No further notes. |
productScope | PromotionProductScope | No further notes. |