Interface: DiscountCreateInput
Defined in: type/DiscountCreateInput.ts:5
Input object for DiscountCreateInput
Properties
categoryId?
optionalcategoryId?:number
Defined in: type/DiscountCreateInput.ts:11
Category id
discountType
discountType:
PriceDiscountType
Defined in: type/DiscountCreateInput.ts:17
Discount type One of: [costpriceplus, listpricemin, netprice]
priceGroup?
optionalpriceGroup?:string
Defined in: type/DiscountCreateInput.ts:13
Pricegroup
pricesheetId
pricesheetId:
string
Defined in: type/DiscountCreateInput.ts:7
Pricesheet id
productId?
optionalproductId?:number
Defined in: type/DiscountCreateInput.ts:9
Product id
quantityFrom
quantityFrom:
number
Defined in: type/DiscountCreateInput.ts:19
Indicates the minimum quantity threshold needed to qualify for the bulk price.
validFrom?
optionalvalidFrom?:string
Defined in: type/DiscountCreateInput.ts:21
Start date from which the bulk pricing is effective. Must be a valid ISO 8601 date string.
validTo?
optionalvalidTo?:string
Defined in: type/DiscountCreateInput.ts:23
End date of the bulk pricing offer. Must be a valid ISO 8601 date string.
value
value:
number
Defined in: type/DiscountCreateInput.ts:15
Discount value