Skip to main content

Class: AdminPostDiscountsReq

internal.AdminPostDiscountsReq

Properties

code

code:

Copy to Clipboard

Defined in

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


ends_at

Copy to Clipboard
ends_at:
Copy to Clipboard

Defined in

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


is_disabled

is_disabled:

Copy to Clipboard

Defined in

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


is_dynamic

is_dynamic:

Copy to Clipboard

Defined in

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


metadata

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

Defined in

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


regions

Copy to Clipboard
regions:
Copy to Clipboard
[]

Defined in

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


rule

rule:

Defined in

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


starts_at

Copy to Clipboard
starts_at:
Copy to Clipboard

Defined in

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


usage_limit

Copy to Clipboard
usage_limit:
Copy to Clipboard

Defined in

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


valid_duration

Copy to Clipboard
valid_duration:
Copy to Clipboard

Defined in

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