Skip to main content

OrderDiscountCommonInput Input Type

No description

input OrderDiscountCommonInput {
valueType: DiscountValueTypeEnum!
value: PositiveDecimal!
reason: String
}

Fields​

valueType ● DiscountValueTypeEnum!​

Type of the discount: fixed or percent

value ● PositiveDecimal!​

Value of the discount. Can store fixed value or percent value

reason ● String​

Explanation for the applied discount.

Member Of​

OrderBulkCreateInput input ● orderDiscountAdd mutation ● orderDiscountUpdate mutation ● orderLineDiscountUpdate mutation