AlmondTill/G3N API

OrderDiscountInput

input type

One pre-tax discount entry — amountMinor ⟺ kind amount, percentPpm ⟺ kind percent; reason REQUIRED. Only source manual is accepted from CALLERS (VALIDATION/INVALID otherwise — the input boundary refuses every other source; the coupon/promo/loyalty/employee engines emit their entries server-side, the gate stands FOREVER — the wording rule: the live wire answers INVALID, never UNSUPPORTED). Engine refs (promotionId/couponId) are OUTPUT-only — never accepted here.

Fields

FieldTypeRequiredNotes
kindSaleDiscountKind SaleDiscountKind!yesNo further notes.
sourceSaleDiscountSource SaleDiscountSource!yesNo further notes.
amountMinorIntnoNo further notes.
percentPpmIntnoNo further notes.
reasonString String!yesNo further notes.