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

ProgramPoints

object

How points are earned and turned into vouchers. Present for every business: POS point rules give points even when the main program is stamps.

Fields

  • points_per_unitinteger | nullRequired

    Points per unit of currency spent on items no rule matches. null when the main program is stamps: then only rules give points.

  • points_to_rewardinteger | nullRequired

    Points needed for a voucher; 0 or null means points do not turn into vouchers.

  • reward_valuenumber | nullRequired

    The amount of the voucher, in the business's currency.

  • reward_labelstring | nullRequired

    The title of the voucher.

  • expire_daysinteger | nullRequired

    Days a voucher stays valid once active; null or 0 = no expiry.

  • activate_afterintegerRequired

    Days after it is issued that a voucher can be used (0–4).

    One of 01234

  • rulesarray of PointRuleRequired
    9 fields
    • idintegerRequired
    • namestringRequired
    • scale_factornumberRequired

      Points per unit of the item's price; 0 = the items give no points.

    • is_activebooleanRequired

      false = POS rules are switched off for the business, the rule gives no points now.

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

      Category paths as sent by the POS; /26/ is category 26 and everything under it.

    • excluded_categoriesarray of stringRequired
    • location_idsarray of integerRequired

      Ids from List locations where the rule applies; empty = every location.