Rewards (admin)

Update a goal's points, length, or visibility

Changed on

Label and rule shape stay migration-controlled — a new rule shape needs a new evaluator in RewardsGoalsService regardless of who edits the row, and this is not the place to hand-edit rule_params JSON.

patch/api/rewards/admin/goal-catalogue/{id}

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/goal-catalogue/{id}
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

pointsnumber
total_daysnumber
is_activeboolean
is_recommendableboolean
sort_ordernumber

Changes