Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 3.52 KB

CouponDeletionFilters.md

File metadata and controls

35 lines (24 loc) · 3.52 KB

CouponDeletionFilters

Properties

Name Type Description Notes
createdBefore OffsetDateTime Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. [optional]
createdAfter OffsetDateTime Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. [optional]
startsAfter OffsetDateTime Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. [optional]
startsBefore OffsetDateTime Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. [optional]
valid ValidEnum - `expired`: Matches coupons in which the expiration date is set and in the past. - `validNow`: Matches coupons in which the start date is null or in the past and the expiration date is null or in the future. - `validFuture`: Matches coupons in which the start date is set and in the future. [optional]
usable Boolean - `true`: only coupons where `usageCounter < usageLimit` will be returned. - `false`: only coupons where `usageCounter >= usageLimit` will be returned. - This field cannot be used in conjunction with the `usable` query parameter. [optional]
redeemed Boolean - `true`: only coupons where `usageCounter > 0` will be returned. - `false`: only coupons where `usageCounter = 0` will be returned. Note: This field cannot be used in conjunction with the `usable` query parameter. [optional]
recipientIntegrationId String Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. [optional]
exactMatch Boolean Filter results to an exact case-insensitive matching against the coupon code [optional]
value String Filter results by the coupon code [optional]
batchId String Filter results by batches of coupons [optional]
referralId Integer Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. [optional]
expiresAfter OffsetDateTime Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. [optional]
expiresBefore OffsetDateTime Filter results comparing the parameter value, expected to be an RFC3339 timestamp string, to the coupon creation timestamp. You can use any time zone setting. Talon.One will convert to UTC internally. [optional]

Enum: ValidEnum

Name Value
EXPIRED "expired"
VALIDNOW "validNow"
VALIDFUTURE "validFuture"