The Lynked Public API is in development. Endpoints will appear here as they go live.

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

  • idintegerRequired
  • time_limited_offer_idintegerRequired
  • discount_typeTimeLimitedDiscountTypeRequired

    One of "percent""fixed"

  • discount_valuenumberRequired
  • max_itemsinteger | nullRequired

    How many items the offer discounts in total; null when there is no limit.

  • items_leftinteger | nullRequired

    Items still discountable, counted over the whole offer; null when there is no limit.

  • applies_toRuleScopeRequired

    The items a voucher applies to. Empty included lists mean any item; excluded lists always win.

    4 fields
    • included_skusarray of stringRequired
    • excluded_skusarray of stringRequired
    • included_categoriesarray of stringRequired

      Category paths; a category includes its subcategories.

    • excluded_categoriesarray of stringRequired
  • valid_untilstring · date-timeRequired
  • created_atstring · date-timeRequired