TimeLimitedVoucher
object
A voucher earned in a time-limited offer. Its rules are the offer's current rules — redemption checks those, so they can change if you edit the offer.
Fields
idintegerRequiredtime_limited_offer_idintegerRequiredOne of
"percent""fixed"discount_valuenumberRequiredmax_itemsinteger | nullRequiredHow many items the offer discounts in total;
nullwhen there is no limit.items_leftinteger | nullRequiredItems still discountable, counted over the whole offer;
nullwhen there is no limit.The items a voucher applies to. Empty included lists mean any item; excluded lists always win.
4 fields
included_skusarray of stringRequiredexcluded_skusarray of stringRequiredincluded_categoriesarray of stringRequiredCategory paths; a category includes its subcategories.
excluded_categoriesarray of stringRequired
valid_untilstring · date-timeRequiredcreated_atstring · date-timeRequired