Rewards (QA)

Set a user's points_total directly

Changed on
post/api/rewards/admin/qa/points/{userId}

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/rewards/admin/qa/points/{userId}
  • Auth
    HTTP bearer

Path parameters

userIdnumber required

Request body

points_totalnumber required

Target points_total. Ledger and today's activity are cleared first, then re-seeded to exactly this value via a single ledger adjustment — never a direct write to the derived total.

Example request

{
  "points_total": 4990
}

Changes