Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 3.35 KB

CouponDeletionFilters.md

File metadata and controls

23 lines (19 loc) · 3.35 KB

CouponDeletionFilters

Properties

Name Type Description Notes
created_before datetime 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]
created_after datetime 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]
starts_after datetime 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]
starts_before datetime 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 str - `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 bool - `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 bool - `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]
recipient_integration_id str Filter results by match with a profile id specified in the coupon's `RecipientIntegrationId` field. [optional]
exact_match bool Filter results to an exact case-insensitive matching against the coupon code [optional] [default to False]
value str Filter results by the coupon code [optional]
batch_id str Filter results by batches of coupons [optional]
referral_id int Filter the results by matching them with the ID of a referral. This filter shows the coupons created by redeeming a referral code. [optional]
expires_after datetime 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]
expires_before datetime 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]

[Back to Model list] [Back to API list] [Back to README]