Skip to main content

DiscountUpdateInput

Discount update data for modifying existing discount configurations.

Contains optional fields for updating discount information including values, calculation methods, quantity thresholds, effective dates, and target assignments. All fields are optional for partial updates.

input DiscountUpdateInput {
pricesheetId: String
productId: Int
categoryId: Int
priceGroup: String
value: Float
discountType: PriceDiscountType
quantityFrom: Int = 1
validFrom: String
validTo: String
}

Fields​

DiscountUpdateInput.pricesheetId ● String scalar​

Pricesheet identifier for discount association

DiscountUpdateInput.productId ● Int scalar​

Product identifier for product-specific discounts

DiscountUpdateInput.categoryId ● Int scalar​

Category identifier for category-wide discounts

DiscountUpdateInput.priceGroup ● String scalar​

Price group classification for targeted discounts

DiscountUpdateInput.value ● Float scalar​

Discount value amount or percentage

DiscountUpdateInput.discountType ● PriceDiscountType enum​

Discount calculation method

DiscountUpdateInput.quantityFrom ● Int scalar​

Minimum quantity threshold for discount eligibility

DiscountUpdateInput.validFrom ● String scalar​

Discount effective start date

DiscountUpdateInput.validTo ● String scalar​

Discount effective end date

Member Of​

discountUpdate mutation