Rewards (admin)
Edit a challenge — 409 once it has started anywhere
Changed onpatch/api/rewards/admin/challenges/{id}
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
idnumber required
Request body
Example request
{
"rule_type": "log_days_in_window",
"rule_params": {
"source_type": "any",
"days_required": 6
},
"audiences": [
{
"relationship": "client"
}
],
"test_user_ids": [
1074
],
"tracker_style": "menorah",
"notifications": {
"launch": true,
"nudge": true,
"last_day": true
}
}Changes
- info
added the new optional request property
- info
- info
endpoint added
- info