Skip to main content

OrderDiscountCommonInput Input Type

No description

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

Fields

OrderDiscountCommonInput.valueType ● DiscountValueTypeEnum! non-null enum discounts

Type of the discount: fixed or percent

OrderDiscountCommonInput.value ● PositiveDecimal! non-null scalar miscellaneous

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

OrderDiscountCommonInput.reason ● String scalar miscellaneous

Explanation for the applied discount.

Member Of

OrderBulkCreateInput input ● orderDiscountAdd mutation ● orderDiscountUpdate mutation ● orderLineDiscountUpdate mutation