Rewards (admin)

Update a prize's numbers — cost, ranking, free-days amount, active flag, host coach

Changed on

Copy (title, description, fulfilment class) stays migration-controlled on purpose — this is only the operational fields. host_coach_id must be an active coach.

patch/api/rewards/admin/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/catalogue/{id}
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

unit_costnumber
value_ranknumber
free_daysnumber
requires_backend_billingboolean
is_activeboolean
consent_scope'food_logs' | 'lucille_rag' | 'food_preferences'

A coach needs temporary access to this to deliver the prize — asked at claim, never blocks it. Omit/null for prizes that need no data access.

host_coach_idobject nullable

The one coach who delivers this prize (an active coach account): its calls and chat days are offered on their calendar only, and a chat prize opens with them. null for any coach.

Changes