Skip to main content

Class: AdminPostDiscountsDiscountReq

internal.AdminPostDiscountsDiscountReq

Properties

code

Optional code: string

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:162


ends_at

Optional ends_at: null | Date

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:166


is_disabled

Optional is_disabled: boolean

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:164


metadata

Optional metadata: Record<string, unknown>

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:170


regions

Optional regions: string[]

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:169


rule

Optional rule: AdminUpdateDiscountRule

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:163


starts_at

Optional starts_at: Date

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:165


usage_limit

Optional usage_limit: null | number

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:168


valid_duration

Optional valid_duration: null | string

Defined in

medusa/dist/api/routes/admin/discounts/update-discount.d.ts:167

Was this page helpful?