# Class: AdminUpsertCondition

[internal](../modules/internal-7.md).AdminUpsertCondition

## Hierarchy

- [`AdminUpsertConditionsReq`](internal-7.AdminUpsertConditionsReq.md)

  ↳ **`AdminUpsertCondition`**

## Properties

### customer\_groups

• `Optional` **customer\_groups**: `string`[]

#### Inherited from

[AdminUpsertConditionsReq](internal-7.AdminUpsertConditionsReq.md).[customer_groups](internal-7.AdminUpsertConditionsReq.md#customer_groups)

#### Defined in

medusa/dist/types/discount.d.ts:20

___

### id

• `Optional` **id**: `string`

#### Defined in

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

___

### operator

• **operator**: [`DiscountConditionOperator`](../enums/internal.DiscountConditionOperator.md)

#### Defined in

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

___

### product\_collections

• `Optional` **product\_collections**: `string`[]

#### Inherited from

[AdminUpsertConditionsReq](internal-7.AdminUpsertConditionsReq.md).[product_collections](internal-7.AdminUpsertConditionsReq.md#product_collections)

#### Defined in

medusa/dist/types/discount.d.ts:17

___

### product\_tags

• `Optional` **product\_tags**: `string`[]

#### Inherited from

[AdminUpsertConditionsReq](internal-7.AdminUpsertConditionsReq.md).[product_tags](internal-7.AdminUpsertConditionsReq.md#product_tags)

#### Defined in

medusa/dist/types/discount.d.ts:19

___

### product\_types

• `Optional` **product\_types**: `string`[]

#### Inherited from

[AdminUpsertConditionsReq](internal-7.AdminUpsertConditionsReq.md).[product_types](internal-7.AdminUpsertConditionsReq.md#product_types)

#### Defined in

medusa/dist/types/discount.d.ts:18

___

### products

• `Optional` **products**: `string`[]

#### Inherited from

[AdminUpsertConditionsReq](internal-7.AdminUpsertConditionsReq.md).[products](internal-7.AdminUpsertConditionsReq.md#products)

#### Defined in

medusa/dist/types/discount.d.ts:16
