Interface: Discount
Defined in: type/Discount.ts:8
Object class for Discount
Properties
category?
optionalcategory?:Category
Defined in: type/Discount.ts:12
category field
categoryId?
optionalcategoryId?:number
Defined in: type/Discount.ts:10
Category Id
createdAt
createdAt:
string
Defined in: type/Discount.ts:16
Creation date
discountType
discountType:
PriceDiscountType
Defined in: type/Discount.ts:34
The method used to apply discounts for bulk prices / volume discounts.
id
id:
string
Defined in: type/Discount.ts:14
Primary identifier
lastModifiedAt
lastModifiedAt:
string
Defined in: type/Discount.ts:18
Last modified date
priceGroup?
optionalpriceGroup?:string
Defined in: type/Discount.ts:32
Price group
pricesheet?
optionalpricesheet?:Pricesheet
Defined in: type/Discount.ts:36
AUTH: Role=[pricing.OWNER]
pricesheetId
pricesheetId:
string
Defined in: type/Discount.ts:28
pricesheet foreign identifier
product?
optionalproduct?:Product
Defined in: type/Discount.ts:38
product field
productId?
optionalproductId?:number
Defined in: type/Discount.ts:30
Product Id
quantityFrom
quantityFrom:
number
Defined in: type/Discount.ts:22
Indicates the minimum quantity threshold needed to qualify for the bulk price.
validFrom?
optionalvalidFrom?:string
Defined in: type/Discount.ts:24
Start date from which the bulk pricing is effective. Must be a valid ISO 8601 date string.
validTo?
optionalvalidTo?:string
Defined in: type/Discount.ts:26
End date of the bulk pricing offer. Must be a valid ISO 8601 date string.
value
value:
number
Defined in: type/Discount.ts:20
Discount value, either percentage or fixed amount