OrderDiscountCommonInput
No description
input OrderDiscountCommonInput {
valueType: DiscountValueTypeEnum!
value: PositiveDecimal!
reason: String
}
Fields
OrderDiscountCommonInput.valueType ● DiscountValueTypeEnum! non-null enum
Type of the discount: fixed or percent
OrderDiscountCommonInput.value ● PositiveDecimal! non-null scalar
Value of the discount. Can store fixed value or percent value
OrderDiscountCommonInput.reason ● String scalar
Explanation for the applied discount.
Member of
OrderBulkCreateInput input ● orderDiscountAdd mutation ● orderDiscountUpdate mutation ● orderLineDiscountUpdate mutation
Was this page helpful?