AlmondTill/G3N API

EditPromotionInput

input type

Edit-input for a Promotion. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic).

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
codeStringnoNo further notes.
effectPromotionEffectInputnoWholesale replacement — the deferred kinds refuse the same NAMED gate.
scopePromotionScopeInputnoNo further notes.
productScopePromotionProductScopeInputnoNo further notes.
cartConditionsPromotionCartConditionsInputnoNo further notes.
startAtStringnoNo further notes.
endAtStringnoNo further notes.
priorityIntnoNo further notes.
exclusiveBooleannoNo further notes.
combinableGroupStringnoNo further notes.
maxDiscountPerLineMinorIntnoNo further notes.
maxDiscountPerOrderMinorIntnoNo further notes.
totalRedemptionsCapIntnoNo further notes.
couponGatedBooleannoNo further notes.

Used by