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

StampVoucher

object

A free item earned on a stamp card.

Fields

  • idintegerRequired
  • titlestringRequired
  • pos_stamp_rule_idinteger | nullRequired

    The POS stamp rule it was earned under; null for the main card or a deleted rule.

  • is_rule_deletedbooleanRequired

    true when the rule was deleted after the voucher was issued; the voucher stays valid.

  • applies_tooneOfRequired

    The rule's items as they were when the voucher was issued; null for the main card (any item).

    2 variants

    Exactly one of:

    RuleScope

    • included_skusarray of stringRequired
    • excluded_skusarray of stringRequired
    • included_categoriesarray of stringRequired

      Category paths; a category includes its subcategories.

    • excluded_categoriesarray of stringRequired

    Option 2

    • expires_atstring | null · date-timeRequired

      null when it does not expire.

    • created_atstring · date-timeRequired