Admin API / Types
DiscountCodeWhereInput
InputFilters for discount codes. Values in one list match any; fields match all. An omitted field or an empty list matches every code.
input DiscountCodeWhereInputInput fields
| Field | Type | Description |
|---|---|---|
createdAt | DateTimeRangeInput | Codes created in this range. from is inclusive and to is exclusive. |
rewardType | [DiscountRewardType!] | Codes with any of these reward types. |
status | [DiscountCodeStatus!] | Codes with any of these statuses, as DiscountCode.status gives them. |