TenderDiscountInput
Input data for applying discounts to a tender.
Contains the discount type and value information needed to calculate and apply price reductions to the tender total.
input TenderDiscountInput {
type: OrderDiscountType!
value: Float!
}
Fields
TenderDiscountInput.type
● OrderDiscountType!
non-null enum
Type of discount to apply to the tender.
Determines how the discount value should be interpreted and applied - either as a fixed amount or percentage reduction.
TenderDiscountInput.value
● Float!
non-null scalar
Discount value to apply based on the discount type.
For percentage discounts, this represents the percentage reduction (e.g., 10 for 10%). For fixed amount discounts, this represents the monetary amount to subtract from the total.
Member Of
tenderUpdateDiscount
mutation