Skip to main content

Interface: DiscountCreateInput

Defined in: type/DiscountCreateInput.ts:5

Input object for DiscountCreateInput

Properties

categoryId?

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

optional priceGroup?: string

Defined in: type/DiscountCreateInput.ts:13

Pricegroup


pricesheetId

pricesheetId: string

Defined in: type/DiscountCreateInput.ts:7

Pricesheet id


productId?

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

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

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