Skip to main content

Interface: Discount

Defined in: type/Discount.ts:8

Object class for Discount

Properties

category?

optional category?: Category

Defined in: type/Discount.ts:12

category field


categoryId?

optional categoryId?: 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?

optional priceGroup?: string

Defined in: type/Discount.ts:32

Price group


pricesheet?

optional pricesheet?: Pricesheet

Defined in: type/Discount.ts:36

AUTH: Role=[pricing.OWNER]


pricesheetId

pricesheetId: string

Defined in: type/Discount.ts:28

pricesheet foreign identifier


product?

optional product?: Product

Defined in: type/Discount.ts:38

product field


productId?

optional productId?: 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?

optional validFrom?: 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?

optional validTo?: 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