Skip to main content

Class: AdminPostDiscountsDiscountReq

internal.AdminPostDiscountsDiscountReq

Properties

code

Copy to Clipboard
code:
Copy to Clipboard

Defined in

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


ends_at

Copy to Clipboard
ends_at:
Copy to Clipboard
|
Copy to Clipboard

Defined in

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


is_disabled

Copy to Clipboard
is_disabled:
Copy to Clipboard

Defined in

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


metadata

Copy to Clipboard
metadata:
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Defined in

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


regions

Copy to Clipboard
regions:
Copy to Clipboard
[]

Defined in

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


rule

Copy to Clipboard
rule:
Copy to Clipboard

Defined in

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


starts_at

Copy to Clipboard
starts_at:
Copy to Clipboard

Defined in

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


usage_limit

Copy to Clipboard
usage_limit:
Copy to Clipboard
|
Copy to Clipboard

Defined in

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


valid_duration

Copy to Clipboard
valid_duration:
Copy to Clipboard
|
Copy to Clipboard

Defined in

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