# Class: AdminPostDiscountsDiscountReq

[internal](../modules/internal-7.md).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`](internal-7.AdminUpdateDiscountRule.md)

#### 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
