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! | One of the values of [PromotionEffectType](/types/PromotionEffectType/). |
percentPpm | Int | |
amountMinor | Int | |
minSubtotalMinor | Int | |
productScope | PromotionProductScope | See [PromotionProductScope](/types/PromotionProductScope/). |