CouponEffectInput
input type
The fields of CouponEffectInput.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
kind | PromotionEffectType PromotionEffectType! | yes | What the coupon does — percent_off or amount_off; the other effect kinds are refused on a coupon. |
percentPpm | Int | no | For percent_off: the percent taken off each matched line, in parts per million — 100000 is 10 percent; above 0, up to 1000000. |
amountMinor | Int | no | For amount_off: one amount taken off the order and spread across the matched lines, in the minor units of the organization currency. |
minSubtotalMinor | Int | no | The smallest matched subtotal an order must reach before the coupon applies, in minor units. Optional. |
productScope | PromotionProductScopeInput | no | The product lines the coupon applies to. Omitted, every product line. |