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. Engine refs (promotionId/couponId) are output-only — never accepted here.

Fields

FieldTypeRequiredNotes
kindSaleDiscountKind SaleDiscountKind!yesOne of the values of [SaleDiscountKind](/types/SaleDiscountKind/).
sourceSaleDiscountSource SaleDiscountSource!yesOne of the values of [SaleDiscountSource](/types/SaleDiscountSource/).
amountMinorIntno
percentPpmIntno
reasonString String!yes