Admin API / Types

DiscountCodeWhereInput

Input

Filters for discount codes. Values in one list match any; fields match all. An omitted field or an empty list matches every code.

input DiscountCodeWhereInput

Input fields

FieldTypeDescription
createdAtDateTimeRangeInputCodes 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.