OrderDiscountCommonInput Input Type
input OrderDiscountCommonInput {
valueType: DiscountValueTypeEnum!
value: PositiveDecimal!
reason: String
}
Fields
valueType
valueType · DiscountValueTypeEnum!
Type of the discount: fixed or percent
value
value · PositiveDecimal!
Value of the discount. Can store fixed value or percent value
reason
reason · String
Explanation for the applied discount.
Used by
- OrderBulkCreateInput (inputs)
- orderDiscountAdd (mutations)
- orderDiscountUpdate (mutations)
- orderLineDiscountUpdate (mutations)
Schema: Saleor 3.23.43. Download SDL.