EditPromotionInput
input type
Edit-input for a Promotion. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | |
code | String | no | |
effect | PromotionEffectInput | no | Wholesale replacement — the deferred kinds refuse the same named gate. |
scope | PromotionScopeInput | no | The scope input — ≥1 axis with unique members; omit the field for unrestricted. |
productScope | PromotionProductScopeInput | no | The product-scope input — ≥1 member (sane predicate, unique ids, included∩excluded refused); omit the field to match ALL product lines. |
cartConditions | PromotionCartConditionsInput | no | The cart-conditions input — ≥1 member with unique ids. |
startAt | String | no | |
endAt | String | no | |
priority | Int | no | |
exclusive | Boolean | no | |
combinableGroup | String | no | |
maxDiscountPerLineMinor | Int | no | |
maxDiscountPerOrderMinor | Int | no | |
totalRedemptionsCap | Int | no | |
couponGated | Boolean | no |