Skip to main content

Class: AdminPostDiscountsDiscountRule

internal.AdminPostDiscountsDiscountRule

Properties

allocation

allocation: AllocationType

Defined in

medusa/dist/api/routes/admin/discounts/create-discount.d.ts:200


conditions

Optional conditions: AdminCreateCondition[]

Defined in

medusa/dist/api/routes/admin/discounts/create-discount.d.ts:201


description

Optional description: string

Defined in

medusa/dist/api/routes/admin/discounts/create-discount.d.ts:197


type

type: DiscountRuleType

Defined in

medusa/dist/api/routes/admin/discounts/create-discount.d.ts:198


value

value: number

Defined in

medusa/dist/api/routes/admin/discounts/create-discount.d.ts:199

Was this page helpful?