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 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 (stores Singapore points balance)
  • {{ 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 (for Singapore restaurants only)

Add new parameter on users.json

Earn Point

  • Spend S$1 to earn 1 point
  • Review Restaurant:
    • First 5 reviews
    • Review with 3 images
  • Referral (TBD - to be implemented later)
    • Disable users from using referral codes in Singapore restaurants

Things that multiply earning points:

  • Loyalty Program
  • Double point restaurant tag

Redeem Point

  • 1 point = S$0.01