AlmondTill/G3N API

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

FieldTypeNotes
kindPromotionEffectType PromotionEffectType!No further notes.
percentPpmIntNo further notes.
amountMinorIntNo further notes.
minSubtotalMinorIntNo further notes.
productScopePromotionProductScopeNo further notes.