Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Singapore Point Technical Documentation

Reference:

https://docs.google.com/spreadsheets/d/1mwQoFBhj19A1IMpmsR2n3i5AwCRNB3g7chUETCXBzMg/edit?gid=0#gid=0 Private (https://app.clickup.com/t/86cwhf5mn)

Separated Point SG and TH

Check existing progress: https://github.com/hungryhub-team/hh-server/pull/6059 Affected Pages:

  • User:
    • Profile Page
    • Point History
    • Checkout Page (Redeem Point)
    • Homepage?
  • Admin:
    • Detail User Overview
    • Point History

Affected API:

  • {{ base_api }}/users.json - add param points_sg
  • {{ base_api }}/users/points/history.json
  • {{ base_api }}/vouchers/validate.json add param redeemed_points_sg
  • {{ base_api }}/reservations.json add param redeemed_points_sg
    • make sure redeemed_points_sg for Singapore restaurant only

Add new parameter on users.json

Earn Point

  • Spend S$1, earn 1 point
  • Review Restaurant
    • First 5 reviews
    • Review with 3 images
    • Review
  • Referral (later)
    • Disable user to use referral code in singapore restaurant?

Things that multiply earning points:

  • Loyalty Program
  • Double point restaurant tag

Redeem Point

  • 1 point = S$0.01